File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ install:
3636build_script :
3737 - set RUSTFLAGS=-C debug-assertions
3838 # Build and install miri
39- - cargo build --release --all-features --all-targets
39+ - cargo build --release --all-features --all-targets --locked
4040 - cargo install --all-features --force --path . --locked --offline
4141 # Get ourselves a MIR-full libstd, and use it henceforth
4242 - cargo miri setup
@@ -46,7 +46,7 @@ test_script:
4646 - set RUST_TEST_NOCAPTURE=1
4747 - set RUST_BACKTRACE=1
4848 # Test miri
49- - cargo test --release --all-features
49+ - cargo test --release --all-features --locked
5050 # Test cargo integration
5151 - cd test-cargo-miri
5252 - ' "C:\msys64\mingw64\bin\python3.exe" run-test.py'
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ export RUSTC_EXTRA_FLAGS="-D warnings"
1212
1313# Prepare
1414echo " Build and install miri"
15- ./miri build --all-targets
16- ./miri install
15+ ./miri build --all-targets --locked
16+ ./miri install # implicitly locked
1717echo
1818
1919# Test
2020function run_tests {
21- ./miri test
21+ ./miri test --locked
2222 # "miri test" has built the sysroot for us, now this should pass without
2323 # any interactive questions.
2424 test-cargo-miri/run-test.py
You can’t perform that action at this time.
0 commit comments