File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -526,16 +526,16 @@ fn get_local_toolchain(
526526 let output = Command :: new ( "rustup" )
527527 . args ( & [ "which" , "cargo" , "--toolchain=nightly" ] )
528528 . output ( )
529- . context ( "failed to run `rustup which cargo`" ) ?;
529+ . context ( "failed to run `rustup which cargo --toolchain=nightly `" ) ?;
530530 if !output. status . success ( ) {
531531 anyhow:: bail!(
532- "`rustup which cargo` exited with status {}\n stderr={}" ,
532+ "`rustup which cargo --toolchain=nightly ` exited with status {}\n stderr={}" ,
533533 output. status,
534534 String :: from_utf8_lossy( & output. stderr)
535535 )
536536 }
537537 let s = String :: from_utf8 ( output. stdout )
538- . context ( "failed to convert `rustup which cargo` output to utf8" ) ?;
538+ . context ( "failed to convert `rustup which cargo --toolchain=nightly ` output to utf8" ) ?;
539539
540540 let cargo = PathBuf :: from ( s. trim ( ) ) ;
541541 debug ! ( "found cargo: {:?}" , & cargo) ;
You can’t perform that action at this time.
0 commit comments