mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-27 17:55:59 +00:00
make sure './miri many-seeds ./miri run' does not re-invoke the auto-ops
This commit is contained in:
@@ -94,8 +94,8 @@ impl Command {
|
||||
| Command::Cargo { .. } => Self::auto_actions()?,
|
||||
| Command::ManySeeds { .. }
|
||||
| Command::Toolchain { .. }
|
||||
| Command::RustcPull { .. }
|
||||
| Command::Bench { .. }
|
||||
| Command::RustcPull { .. }
|
||||
| Command::RustcPush { .. } => {}
|
||||
}
|
||||
// Then run the actual command.
|
||||
@@ -295,6 +295,7 @@ impl Command {
|
||||
bail!("expected many-seeds command to be non-empty");
|
||||
};
|
||||
let sh = Shell::new()?;
|
||||
sh.set_var("MIRI_AUTO_OPS", "no"); // just in case we get recursively invoked
|
||||
for seed in seed_start..seed_end {
|
||||
println!("Trying seed: {seed}");
|
||||
let mut miriflags = env::var_os("MIRIFLAGS").unwrap_or_default();
|
||||
|
||||
Reference in New Issue
Block a user