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:
36
36
build_script :
37
37
- set RUSTFLAGS=-C debug-assertions
38
38
# Build and install miri
39
- - cargo build --release --all-features --all-targets
39
+ - cargo build --release --all-features --all-targets --locked
40
40
- cargo install --all-features --force --path . --locked --offline
41
41
# Get ourselves a MIR-full libstd, and use it henceforth
42
42
- cargo miri setup
@@ -46,7 +46,7 @@ test_script:
46
46
- set RUST_TEST_NOCAPTURE=1
47
47
- set RUST_BACKTRACE=1
48
48
# Test miri
49
- - cargo test --release --all-features
49
+ - cargo test --release --all-features --locked
50
50
# Test cargo integration
51
51
- cd test-cargo-miri
52
52
- ' "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"
12
12
13
13
# Prepare
14
14
echo " Build and install miri"
15
- ./miri build --all-targets
16
- ./miri install
15
+ ./miri build --all-targets --locked
16
+ ./miri install # implicitly locked
17
17
echo
18
18
19
19
# Test
20
20
function run_tests {
21
- ./miri test
21
+ ./miri test --locked
22
22
# "miri test" has built the sysroot for us, now this should pass without
23
23
# any interactive questions.
24
24
test-cargo-miri/run-test.py
You can’t perform that action at this time.
0 commit comments