- rustup target add i686-pc-windows-gnu
- rustup target add i686-pc-windows-msvc
- rustup component add rust-src
-- cargo install --git https://github.com/japaric/xargo.git
+- cargo install xargo || echo "skipping xargo install"
- export RUST_SYSROOT=$HOME/rust
script:
- set -e
# Test plain miri
cargo build --release --all-features &&
cargo test --release --all-features --all &&
- cargo install --all-features
+ cargo install --all-features --force
- |
# Test cargo miri
cd cargo-miri-test &&
- rustc -V
- cargo -V
- rustup component add rust-src
- - cargo install --git https://github.com/japaric/xargo.git
+ - cargo install xargo
- cd xargo
- set RUSTFLAGS=-Zalways-encode-mir -Zmir-emit-validate=1
- xargo build