File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,13 @@ script:
3737 cargo test --release --all-features &&
3838 cargo install --all-features --force --path .
3939 - |
40- # Get ourselves a MIR-full libstd
40+ # Get ourselves a MIR-full libstd, and use it henceforth
4141 cargo miri setup &&
42- export MIRI_SYSROOT=~/.miri/HOST
42+ if [ "$TRAVIS_OS_NAME" == osx ]; then
43+ export MIRI_SYSROOT=~/Library/Caches/miri.miri.miri/HOST
44+ else
45+ export MIRI_SYSROOT=~/.cache/miri/HOST
46+ fi
4347 - |
4448 # Test miri with full MIR
4549 cargo test --release --all-features
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ Miri builds and vice-versa.
9191
9292You may be running ` cargo miri ` with a different compiler version than the one
9393used to build the custom libstd that Miri uses, and Miri failed to detect that.
94- Try deleting ` ~/.miri ` .
94+ Try deleting ` ~/.cache/ miri ` .
9595
9696## Miri ` -Z ` flags
9797
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ test_script:
3030 # Test plain miri
3131 - cargo build --release --all-features --all-targets
3232 - cargo test --release --all-features
33- # Get ourselves a MIR-full libstd
33+ # Get ourselves a MIR-full libstd, and use it henceforth
3434 - cargo run --release --all-features --bin cargo-miri -- miri setup
35- - set MIRI_SYSROOT=%USERPROFILE%\. miri\HOST
35+ - set MIRI_SYSROOT=%USERPROFILE%\AppData\Local\ miri\miri\cache \HOST
3636 # Test miri with full MIR
3737 - cargo test --release --all-features
3838
You can’t perform that action at this time.
0 commit comments