From 3042b788ebd36eb2ab321554af513eac6095ce76 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 4 Oct 2022 19:41:21 -0700 Subject: [PATCH] Don't build the compiler before building rls The rls stub is a simple stable tool, which doesn't need compiler libs. --- src/bootstrap/tool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs index ff6f7909a5a3b..d6e7f7872703e 100644 --- a/src/bootstrap/tool.rs +++ b/src/bootstrap/tool.rs @@ -870,10 +870,10 @@ tool_extended!((self, builder), Clippy, "src/tools/clippy", "clippy-driver", stable=true, in_tree=true, {}; Miri, "src/tools/miri", "miri", stable=false, in_tree=true, {}; CargoMiri, "src/tools/miri/cargo-miri", "cargo-miri", stable=false, in_tree=true, {}; - Rls, "src/tools/rls", "rls", stable=true, {}; // FIXME: tool_std is not quite right, we shouldn't allow nightly features. // But `builder.cargo` doesn't know how to handle ToolBootstrap in stages other than 0, // and this is close enough for now. + Rls, "src/tools/rls", "rls", stable=true, in_tree=true, tool_std=true, {}; RustDemangler, "src/tools/rust-demangler", "rust-demangler", stable=false, in_tree=true, tool_std=true, {}; Rustfmt, "src/tools/rustfmt", "rustfmt", stable=true, in_tree=true, {}; );