Run Miri test suite with mir-opt-level=4
This commit is contained in:
parent
f811f14006
commit
84e7ae2842
1 changed files with 8 additions and 1 deletions
|
|
@ -452,7 +452,14 @@ impl Step for Miri {
|
|||
|
||||
cargo.add_rustc_lib_path(builder, compiler);
|
||||
|
||||
if !try_run(builder, &mut cargo.into()) {
|
||||
let mut cargo = Command::from(cargo);
|
||||
if !try_run(builder, &mut cargo) {
|
||||
return;
|
||||
}
|
||||
|
||||
// # Run `cargo test` with `-Zmir-opt-level=4`.
|
||||
cargo.env("MIRIFLAGS", "-O -Zmir-opt-level=4");
|
||||
if !try_run(builder, &mut cargo) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue