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:
28
28
- rustup target add i686-unknown-linux-gnu
29
29
- rustup target add i686-pc-windows-gnu
30
30
- rustup target add i686-pc-windows-msvc
31
- - rustup component add rust-src
32
- - cargo install xargo || echo "Skipping xargo install"
33
31
34
32
script :
35
33
- set -e
@@ -39,9 +37,9 @@ script:
39
37
cargo test --release --all-features &&
40
38
cargo install --all-features --force --path .
41
39
- |
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
45
43
- |
46
44
# run all tests with full mir
47
45
cargo test --release --all-features
Original file line number Diff line number Diff line change @@ -21,16 +21,6 @@ install:
21
21
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_TOOLCHAIN%
22
22
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
23
23
- 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 ..
34
24
35
25
build : false
36
26
@@ -39,7 +29,8 @@ test_script:
39
29
- set RUST_BACKTRACE=1
40
30
- cargo build --release --all-features --all-targets
41
31
- 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
43
34
- cargo test --release --all-features
44
35
45
36
notifications :
You can’t perform that action at this time.
0 commit comments