File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ impl Step for RustAnalyzer {
312
312
const DEFAULT : bool = true ;
313
313
314
314
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
315
- run. paths ( & [ "src/tools/rust-analyzer" , "rust-analyzer" ] )
315
+ run. paths ( & [ "src/tools/rust-analyzer" ] )
316
316
}
317
317
318
318
fn make_run ( run : RunConfig < ' _ > ) {
@@ -323,12 +323,10 @@ impl Step for RustAnalyzer {
323
323
let compiler = builder. compiler ( builder. top_stage , builder. config . build ) ;
324
324
let target = self . target ;
325
325
326
- builder. ensure ( Rustc { target } ) ;
327
-
328
326
let mut cargo = prepare_tool_cargo (
329
327
builder,
330
328
compiler,
331
- Mode :: ToolRustc ,
329
+ Mode :: ToolStd ,
332
330
target,
333
331
cargo_subcommand ( builder. kind ) ,
334
332
"src/tools/rust-analyzer" ,
You can’t perform that action at this time.
0 commit comments