File tree Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ before_script:
2828- rustup target add i686-unknown-linux-gnu
2929- rustup target add i686-pc-windows-gnu
3030- rustup target add i686-pc-windows-msvc
31- - rustup component add rust-src
32- - cargo install xargo || echo "Skipping xargo install"
3331
3432script :
3533- set -e
@@ -39,9 +37,9 @@ script:
3937 cargo test --release --all-features &&
4038 cargo install --all-features --force --path .
4139 - |
42- # get ourselves a MIR-full libstd
43- xargo/build.sh &&
44- export MIRI_SYSROOT=~/.xargo /HOST
40+ # starting here, use MIR-full libstd
41+ cargo miri setup &&
42+ export MIRI_SYSROOT=~/.miri /HOST
4543 - |
4644 # run all tests with full mir
4745 cargo test --release --all-features
Original file line number Diff line number Diff line change @@ -21,16 +21,6 @@ install:
2121 - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_TOOLCHAIN%
2222 - set PATH=%USERPROFILE%\.cargo\bin;%PATH%
2323 - rustc --version
24- # Customize installation.
25- - rustup component add rust-src
26- - cargo install xargo
27- # Prepare a libstd with MIR (cannot use bash script, obviously).
28- # The flags here should be kept in sync with `add_miri_default_args` in `src/lib.rs`.
29- - cd xargo
30- - set RUSTFLAGS=-Zalways-encode-mir -Zmir-emit-retag -Zmir-opt-level=0
31- - xargo build
32- - set RUSTFLAGS=
33- - cd ..
3424
3525build : false
3626
@@ -39,7 +29,8 @@ test_script:
3929 - set RUST_BACKTRACE=1
4030 - cargo build --release --all-features --all-targets
4131 - cargo test --release --all-features
42- - set MIRI_SYSROOT=%USERPROFILE%\.xargo\HOST
32+ - cargo run --release --all-features --bin cargo-miri -- miri setup
33+ - set MIRI_SYSROOT=%USERPROFILE%\.miri\HOST
4334 - cargo test --release --all-features
4435
4536notifications :
You can’t perform that action at this time.
0 commit comments