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(
526
526
let output = Command :: new ( "rustup" )
527
527
. args ( & [ "which" , "cargo" , "--toolchain=nightly" ] )
528
528
. output ( )
529
- . context ( "failed to run `rustup which cargo`" ) ?;
529
+ . context ( "failed to run `rustup which cargo --toolchain=nightly `" ) ?;
530
530
if !output. status . success ( ) {
531
531
anyhow:: bail!(
532
- "`rustup which cargo` exited with status {}\n stderr={}" ,
532
+ "`rustup which cargo --toolchain=nightly ` exited with status {}\n stderr={}" ,
533
533
output. status,
534
534
String :: from_utf8_lossy( & output. stderr)
535
535
)
536
536
}
537
537
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" ) ?;
539
539
540
540
let cargo = PathBuf :: from ( s. trim ( ) ) ;
541
541
debug ! ( "found cargo: {:?}" , & cargo) ;
You can’t perform that action at this time.
0 commit comments