File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -376,12 +376,12 @@ impl Step for RustAnalyzer {
376376 let compiler = builder. compiler ( builder. top_stage , builder. config . build ) ;
377377 let target = self . target ;
378378
379- builder. ensure ( Std :: new ( target) ) ;
379+ builder. ensure ( Rustc :: new ( target, builder ) ) ;
380380
381381 let mut cargo = prepare_tool_cargo (
382382 builder,
383383 compiler,
384- Mode :: ToolStd ,
384+ Mode :: ToolRustc ,
385385 target,
386386 cargo_subcommand ( builder. kind ) ,
387387 "src/tools/rust-analyzer" ,
@@ -414,7 +414,7 @@ impl Step for RustAnalyzer {
414414 /// Cargo's output path in a given stage, compiled by a particular
415415 /// compiler for the specified target.
416416 fn stamp ( builder : & Builder < ' _ > , compiler : Compiler , target : TargetSelection ) -> PathBuf {
417- builder. cargo_out ( compiler, Mode :: ToolStd , target) . join ( ".rust-analyzer-check.stamp" )
417+ builder. cargo_out ( compiler, Mode :: ToolRustc , target) . join ( ".rust-analyzer-check.stamp" )
418418 }
419419 }
420420}
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ impl Step for RustAnalyzer {
369369
370370 // We don't need to build the whole Rust Analyzer for the proc-macro-srv test suite,
371371 // but we do need the standard library to be present.
372- builder. ensure ( compile:: Std :: new ( compiler, host) ) ;
372+ builder. ensure ( compile:: Rustc :: new ( compiler, host) ) ;
373373
374374 let workspace_path = "src/tools/rust-analyzer" ;
375375 // until the whole RA test suite runs on `i686`, we only run
@@ -378,7 +378,7 @@ impl Step for RustAnalyzer {
378378 let mut cargo = tool:: prepare_tool_cargo (
379379 builder,
380380 compiler,
381- Mode :: ToolStd ,
381+ Mode :: ToolRustc ,
382382 host,
383383 "test" ,
384384 crate_path,
Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ impl Step for RustAnalyzer {
635635 compiler : self . compiler ,
636636 target : self . target ,
637637 tool : "rust-analyzer" ,
638- mode : Mode :: ToolStd ,
638+ mode : Mode :: ToolRustc ,
639639 path : "src/tools/rust-analyzer" ,
640640 extra_features : vec ! [ "rust-analyzer/in-rust-tree" . to_owned( ) ] ,
641641 is_optional_tool : false ,
You can’t perform that action at this time.
0 commit comments