Skip to content

Commit e0863ef

Browse files
committed
force-enable debug assertions in CI opt test
1 parent 16f34f2 commit e0863ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function run_tests {
4343
# optimizations up all the way, too).
4444
# Optimizations change diagnostics (mostly backtraces), so we don't check
4545
# them. Also error locations change so we don't run the failing tests.
46-
MIRIFLAGS="${MIRIFLAGS:-} -O -Zmir-opt-level=4" MIRI_SKIP_UI_CHECKS=1 ./miri test -- tests/{pass,panic}
46+
MIRIFLAGS="${MIRIFLAGS:-} -O -Zmir-opt-level=4 -Cdebug-assertions=yes" MIRI_SKIP_UI_CHECKS=1 ./miri test -- tests/{pass,panic}
4747

4848
# Also run some many-seeds tests. 64 seeds means this takes around a minute per test.
4949
for FILE in tests/many-seeds/*.rs; do

0 commit comments

Comments
 (0)