File tree 3 files changed +6
-6
lines changed
src/bootstrap/src/core/build_steps
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 {
376
376
let compiler = builder. compiler ( builder. top_stage , builder. config . build ) ;
377
377
let target = self . target ;
378
378
379
- builder. ensure ( Std :: new ( target) ) ;
379
+ builder. ensure ( Rustc :: new ( target, builder ) ) ;
380
380
381
381
let mut cargo = prepare_tool_cargo (
382
382
builder,
383
383
compiler,
384
- Mode :: ToolStd ,
384
+ Mode :: ToolRustc ,
385
385
target,
386
386
cargo_subcommand ( builder. kind ) ,
387
387
"src/tools/rust-analyzer" ,
@@ -414,7 +414,7 @@ impl Step for RustAnalyzer {
414
414
/// Cargo's output path in a given stage, compiled by a particular
415
415
/// compiler for the specified target.
416
416
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" )
418
418
}
419
419
}
420
420
}
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ impl Step for RustAnalyzer {
369
369
370
370
// We don't need to build the whole Rust Analyzer for the proc-macro-srv test suite,
371
371
// 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) ) ;
373
373
374
374
let workspace_path = "src/tools/rust-analyzer" ;
375
375
// until the whole RA test suite runs on `i686`, we only run
@@ -378,7 +378,7 @@ impl Step for RustAnalyzer {
378
378
let mut cargo = tool:: prepare_tool_cargo (
379
379
builder,
380
380
compiler,
381
- Mode :: ToolStd ,
381
+ Mode :: ToolRustc ,
382
382
host,
383
383
"test" ,
384
384
crate_path,
Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ impl Step for RustAnalyzer {
635
635
compiler : self . compiler ,
636
636
target : self . target ,
637
637
tool : "rust-analyzer" ,
638
- mode : Mode :: ToolStd ,
638
+ mode : Mode :: ToolRustc ,
639
639
path : "src/tools/rust-analyzer" ,
640
640
extra_features : vec ! [ "rust-analyzer/in-rust-tree" . to_owned( ) ] ,
641
641
is_optional_tool : false ,
You can’t perform that action at this time.
0 commit comments