File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/bootstrap/src/core/config Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ impl Config {
503
503
host : build_host_toml,
504
504
target : build_target_toml,
505
505
build_dir : build_build_dir_toml,
506
- cargo : build_cargo_toml,
506
+ cargo : mut build_cargo_toml,
507
507
rustc : mut build_rustc_toml,
508
508
rustfmt : build_rustfmt_toml,
509
509
cargo_clippy : build_cargo_clippy_toml,
@@ -672,9 +672,8 @@ impl Config {
672
672
// Cargo in their bootstrap.toml.
673
673
build_rustc_toml =
674
674
build_rustc_toml. take ( ) . or ( std:: env:: var_os ( "RUSTC" ) . map ( |p| p. into ( ) ) ) ;
675
- build_build_toml = build_build_toml
676
- . take ( )
677
- . or ( std:: env:: var_os ( "CARGO" ) . map ( |p| p. into_string ( ) . unwrap ( ) ) ) ;
675
+ build_cargo_toml =
676
+ build_cargo_toml. take ( ) . or ( std:: env:: var_os ( "CARGO" ) . map ( |p| p. into ( ) ) ) ;
678
677
}
679
678
680
679
build_jobs_toml = flags_jobs. or ( build_jobs_toml) ;
You can’t perform that action at this time.
0 commit comments