Skip to content

Commit 6117fa1

Browse files
committed
make sure './miri many-seeds ./miri run' does not re-invoke the auto-ops
1 parent a5ba57e commit 6117fa1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/miri/miri-script/src/commands.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ impl Command {
9494
| Command::Cargo { .. } => Self::auto_actions()?,
9595
| Command::ManySeeds { .. }
9696
| Command::Toolchain { .. }
97-
| Command::RustcPull { .. }
9897
| Command::Bench { .. }
98+
| Command::RustcPull { .. }
9999
| Command::RustcPush { .. } => {}
100100
}
101101
// Then run the actual command.
@@ -295,6 +295,7 @@ impl Command {
295295
bail!("expected many-seeds command to be non-empty");
296296
};
297297
let sh = Shell::new()?;
298+
sh.set_var("MIRI_AUTO_OPS", "no"); // just in case we get recursively invoked
298299
for seed in seed_start..seed_end {
299300
println!("Trying seed: {seed}");
300301
let mut miriflags = env::var_os("MIRIFLAGS").unwrap_or_default();

0 commit comments

Comments
 (0)