Use cargo-xbuild instead of xargo and pass paths to --target

This commit is contained in:
Philipp Oppermann
2018-05-07 12:45:14 +02:00
parent cb1fa395b1
commit 65211f85a5
4 changed files with 18 additions and 27 deletions

View File

@@ -38,7 +38,6 @@ environment:
cache:
- '%USERPROFILE%\.cargo\bin'
- '%USERPROFILE%\.cargo\.crates.toml'
- '%USERPROFILE%\.xargo'
- target
## Install Script ##
@@ -70,7 +69,7 @@ before_test:
- rustup component add rust-src
- set RUST_BACKTRACE=1
- if not exist %USERPROFILE%\.cargo\bin\cargo-install-update.exe cargo install cargo-update
- if not exist %USERPROFILE%\.cargo\bin\xargo.exe cargo install xargo
- if not exist %USERPROFILE%\.cargo\bin\cargo-xbuild.exe cargo install cargo-xbuild
- if not exist %USERPROFILE%\.cargo\bin\bootimage.exe cargo install bootimage
- cargo install-update -a