Skip to content

Commit e2505dd

Browse files
committed
we have no whitelist any more, go back to opt-level 3
1 parent b0581ca commit e2505dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/compiletest.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ fn miri_pass(path: &str, target: &str, opt: bool) {
7777
flags.push("-Dwarnings -Dunused".to_owned()); // overwrite the -Aunused in compiletest-rs
7878
flags.push("--edition 2018".to_owned());
7979
if opt {
80-
// FIXME: We use opt level 1 because MIR inlining defeats the validation
81-
// whitelist.
82-
flags.push("-Zmir-opt-level=1".to_owned());
80+
flags.push("-Zmir-opt-level=3".to_owned());
8381
}
8482

8583
let mut config = mk_config("ui");

0 commit comments

Comments
 (0)