Skip to content

Commit 7c52718

Browse files
committed
Remove obsolete llvm_tools flag
1 parent ed6468d commit 7c52718

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/bootstrap/tool.rs

+1-11
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ fn rustbook_features() -> Vec<String> {
289289
macro_rules! bootstrap_tool {
290290
($(
291291
$name:ident, $path:expr, $tool_name:expr
292-
$(,llvm_tools = $llvm:expr)*
293292
$(,is_external_tool = $external:expr)*
294293
$(,features = $features:expr)*
295294
;
@@ -301,15 +300,6 @@ macro_rules! bootstrap_tool {
301300
)+
302301
}
303302

304-
impl Tool {
305-
/// Whether this tool requires LLVM to run
306-
pub fn uses_llvm_tools(&self) -> bool {
307-
match self {
308-
$(Tool::$name => false $(|| $llvm)*,)+
309-
}
310-
}
311-
}
312-
313303
impl<'a> Builder<'a> {
314304
pub fn tool_exe(&self, tool: Tool) -> PathBuf {
315305
match tool {
@@ -377,7 +367,7 @@ bootstrap_tool!(
377367
Tidy, "src/tools/tidy", "tidy";
378368
Linkchecker, "src/tools/linkchecker", "linkchecker";
379369
CargoTest, "src/tools/cargotest", "cargotest";
380-
Compiletest, "src/tools/compiletest", "compiletest", llvm_tools = true;
370+
Compiletest, "src/tools/compiletest", "compiletest";
381371
BuildManifest, "src/tools/build-manifest", "build-manifest";
382372
RemoteTestClient, "src/tools/remote-test-client", "remote-test-client";
383373
RustInstaller, "src/tools/rust-installer", "fabricate", is_external_tool = true;

0 commit comments

Comments
 (0)