File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -2707,16 +2707,6 @@ impl Step for Crate {
27072707 . arg ( builder. src . join ( "library/sysroot/Cargo.toml" ) ) ;
27082708 } else {
27092709 compile:: std_cargo ( builder, target, compiler. stage , & mut cargo) ;
2710- // `std_cargo` actually does the wrong thing: it passes `--sysroot build/host/stage2`,
2711- // but we want to use the force-recompile std we just built in `build/host/stage2-test-sysroot`.
2712- // Override it.
2713- if builder. download_rustc ( ) && compiler. stage > 0 {
2714- let sysroot = builder
2715- . out
2716- . join ( compiler. host )
2717- . join ( format ! ( "stage{}-test-sysroot" , compiler. stage) ) ;
2718- cargo. env ( "RUSTC_SYSROOT" , sysroot) ;
2719- }
27202710 }
27212711 }
27222712 Mode :: Rustc => {
You can’t perform that action at this time.
0 commit comments