diff options
| author | Ralf Jung <post@ralfj.de> | 2022-12-16 12:19:43 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-12-16 12:19:43 +0100 |
| commit | 3d67703e75912a0f58b43feae8ee8b5b20504dfe (patch) | |
| tree | c05fb48510935410d6bea3011c5442c26bbec2ce /src/bootstrap/tool.rs | |
| parent | 33e5b953de13307a4b4206d85b74ea55e81d38a1 (diff) | |
| parent | 4251289f27949cec69d8aa39d3891a4977fbc856 (diff) | |
Merge from rustc
Diffstat (limited to 'src/bootstrap/tool.rs')
| -rw-r--r-- | src/bootstrap/tool.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs index e0be4c432f1..24b033cc0dc 100644 --- a/src/bootstrap/tool.rs +++ b/src/bootstrap/tool.rs @@ -747,19 +747,9 @@ impl Step for RustAnalyzerProcMacroSrv { const ONLY_HOSTS: bool = true; fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { - let builder = run.builder; - // Allow building `rust-analyzer-proc-macro-srv` both as part of the `rust-analyzer` and as a stand-alone tool. run.path("src/tools/rust-analyzer") .path("src/tools/rust-analyzer/crates/proc-macro-srv-cli") - .default_condition( - builder.config.extended - && builder.config.tools.as_ref().map_or(true, |tools| { - tools.iter().any(|tool| { - tool == "rust-analyzer" || tool == "rust-analyzer-proc-macro-srv" - }) - }), - ) } fn make_run(run: RunConfig<'_>) { |
