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 {
409409 OsString :: new ( )
410410 } ;
411411 let target_flag = & target_flag;
412+ let toolchain = active_toolchain ( ) ?;
412413 // Run the requested benchmarks
413414 for bench in benches {
414415 let current_bench = path ! ( benches_dir / bench / "Cargo.toml" ) ;
415416 // We don't attempt to escape `current_bench`, but we wrap it in quotes.
416417 // That seems to make Windows CI happy.
417418 cmd ! (
418419 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}'\" '"
420421 )
421422 . run ( ) ?;
422423 }
You can’t perform that action at this time.
0 commit comments