Skip to content

Commit 6083963

Browse files
committed
do not enable expensive-debug-assertions in installed Miri in CI
1 parent b2e6465 commit 6083963

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ci.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
#!/bin/bash
22
set -euo pipefail
3+
set -x
34

45
# Determine configuration
56
export RUSTFLAGS="-D warnings"
67
export CARGO_INCREMENTAL=0
7-
export CARGO_EXTRA_FLAGS="--all-features"
8+
export CARGO_EXTRA_FLAGS="--all-features" # in particular, expensive-debug-assertions
89

910
# Prepare
1011
echo "Build and install miri"
11-
./miri build --all-targets --locked
12-
./miri install # implicitly locked
12+
CARGO_EXTRA_FLAGS="" ./miri install # implicitly locked -- and the *installed* Miri does *not* get the expensive-debug-assertions feature
13+
./miri build --all-targets --locked # the build that all the `./miri test` below will use
1314
echo
1415

1516
# Test

0 commit comments

Comments
 (0)