We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f0fe74f + f47b2ee commit d7822b3Copy full SHA for d7822b3
miri-script/src/commands.rs
@@ -409,14 +409,15 @@ impl Command {
409
OsString::new()
410
};
411
let target_flag = &target_flag;
412
+ let toolchain = active_toolchain()?;
413
// Run the requested benchmarks
414
for bench in benches {
415
let current_bench = path!(benches_dir / bench / "Cargo.toml");
416
// We don't attempt to escape `current_bench`, but we wrap it in quotes.
417
// That seems to make Windows CI happy.
418
cmd!(
419
sh,
- "{program_name} {args...} 'cargo miri run '{target_flag}' --manifest-path \"'{current_bench}'\"'"
420
+ "{program_name} {args...} 'cargo +'{toolchain}' miri run '{target_flag}' --manifest-path \"'{current_bench}'\"'"
421
)
422
.run()?;
423
}
0 commit comments