Skip to content

Commit c213c23

Browse files
Apply suggestions from @jyn514 re check tool
1 parent 8990e37 commit c213c23

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/bootstrap/check.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ impl Step for RustAnalyzer {
312312
const DEFAULT: bool = true;
313313

314314
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
315-
run.paths(&["src/tools/rust-analyzer", "rust-analyzer"])
315+
run.paths(&["src/tools/rust-analyzer"])
316316
}
317317

318318
fn make_run(run: RunConfig<'_>) {
@@ -323,12 +323,10 @@ impl Step for RustAnalyzer {
323323
let compiler = builder.compiler(builder.top_stage, builder.config.build);
324324
let target = self.target;
325325

326-
builder.ensure(Rustc { target });
327-
328326
let mut cargo = prepare_tool_cargo(
329327
builder,
330328
compiler,
331-
Mode::ToolRustc,
329+
Mode::ToolStd,
332330
target,
333331
cargo_subcommand(builder.kind),
334332
"src/tools/rust-analyzer",

0 commit comments

Comments
 (0)