File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -534,25 +534,10 @@ impl Step for Cargo {
534
534
)
535
535
}
536
536
537
- fn make_run ( run : RunConfig < ' _ > ) {
538
- run. builder . ensure ( Cargo {
539
- compiler : run. builder . compiler ( run. builder . top_stage , run. builder . config . build ) ,
540
- target : run. target ,
541
- } ) ;
542
- }
537
+ fn make_run ( _run : RunConfig < ' _ > ) { }
543
538
544
539
fn run ( self , builder : & Builder < ' _ > ) -> PathBuf {
545
- let cargo_bin_path = builder. ensure ( ToolBuild {
546
- compiler : self . compiler ,
547
- target : self . target ,
548
- tool : "cargo" ,
549
- mode : Mode :: ToolRustc ,
550
- path : "src/tools/cargo" ,
551
- source_type : SourceType :: Submodule ,
552
- extra_features : Vec :: new ( ) ,
553
- allow_features : "" ,
554
- } ) ;
555
- cargo_bin_path
540
+ builder. initial_cargo . clone ( )
556
541
}
557
542
}
558
543
You can’t perform that action at this time.
0 commit comments