Let miri decide the flags to use for the test suite

This commit is contained in:
Oli Scherer
2022-05-30 12:10:28 +02:00
committed by GitHub
parent a272c45678
commit 3c66939671

View File

@@ -572,8 +572,6 @@ impl Step for Miri {
return;
}
// # Run `cargo test` with `-Zmir-opt-level=4`.
cargo.env("MIRIFLAGS", "-O -Zmir-opt-level=4");
if !try_run(builder, &mut cargo) {
return;
}