Skip to content

Commit a287d1b

Browse files
authored
unset MIRI_BLESS for mir-opt-level 4 miri tests
1 parent 1b67f8b commit a287d1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/bootstrap/test.rs

+2
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,8 @@ impl Step for Miri {
620620
cargo.env("MIRIFLAGS", "-O -Zmir-opt-level=4 -Cdebug-assertions=yes");
621621
// Optimizations can change backtraces
622622
cargo.env("MIRI_SKIP_UI_CHECKS", "1");
623+
// `MIRI_SKIP_UI_CHECKS` and `MIRI_BLESS` are incompatible
624+
cargo.env_remove("MIRI_BLESS");
623625
// Optimizations can change error locations and remove UB so don't run `fail` tests.
624626
cargo.args(&["tests/pass", "tests/panic"]);
625627

0 commit comments

Comments
 (0)