File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/tools/miri/miri-script/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -409,14 +409,15 @@ impl Command {
409
409
OsString :: new ( )
410
410
} ;
411
411
let target_flag = & target_flag;
412
+ let toolchain = active_toolchain ( ) ?;
412
413
// Run the requested benchmarks
413
414
for bench in benches {
414
415
let current_bench = path ! ( benches_dir / bench / "Cargo.toml" ) ;
415
416
// We don't attempt to escape `current_bench`, but we wrap it in quotes.
416
417
// That seems to make Windows CI happy.
417
418
cmd ! (
418
419
sh,
419
- "{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}'\" '"
420
421
)
421
422
. run ( ) ?;
422
423
}
You can’t perform that action at this time.
0 commit comments