Remove a patch for cross

This commit is contained in:
Taiki Endo
2019-09-08 17:58:32 +02:00
committed by Douman
parent c17e40115f
commit 97c1338833
2 changed files with 1 additions and 33 deletions
+1 -11
View File
@@ -30,17 +30,7 @@ jobs:
parameters:
rust_version: ${{parameters.rust_version}}
# FIXME(taiki-e): When https://github.com/rust-embedded/cross/pull/169 is
# merged, switch to the installation from crates.io.
# See https://nbsoftsolutions.com/blog/azure-pipelines-for-rust-projects#workaround-cross-compilation
# for the current script.
- script: |
git clone https://github.com/rust-embedded/cross.git
cd cross
git reset --hard fb1cb1d7288151f4349f1cb4c990e0e2281764da #Is broken after this commit (images are not uploaded to new docker hub)
git apply ../ci/cross-patch
cargo install --path .
rm -rf cross
- script: cargo install cross
displayName: Install cross
condition: not(eq(variables['target'], 'wasm32-unknown-unknown'))