about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-01-08 09:44:45 -0800
committerJosh Stone <jistone@redhat.com>2020-01-08 09:44:45 -0800
commit7c52718ba22179451bca76d246037a5f7480eae1 (patch)
tree4a39f32379bab625f369d7a9dc07b209b3728214 /src/bootstrap
parented6468da160bd67a2ce0573427f09a98daff8c07 (diff)
downloadrust-7c52718ba22179451bca76d246037a5f7480eae1.tar.gz
rust-7c52718ba22179451bca76d246037a5f7480eae1.zip
Remove obsolete llvm_tools flag
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/tool.rs12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 9fd20386e36..89245825ed5 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -289,7 +289,6 @@ fn rustbook_features() -> Vec<String> {
 macro_rules! bootstrap_tool {
     ($(
         $name:ident, $path:expr, $tool_name:expr
-        $(,llvm_tools = $llvm:expr)*
         $(,is_external_tool = $external:expr)*
         $(,features = $features:expr)*
         ;
@@ -301,15 +300,6 @@ macro_rules! bootstrap_tool {
             )+
         }
 
-        impl Tool {
-            /// Whether this tool requires LLVM to run
-            pub fn uses_llvm_tools(&self) -> bool {
-                match self {
-                    $(Tool::$name => false $(|| $llvm)*,)+
-                }
-            }
-        }
-
         impl<'a> Builder<'a> {
             pub fn tool_exe(&self, tool: Tool) -> PathBuf {
                 match tool {
@@ -377,7 +367,7 @@ bootstrap_tool!(
     Tidy, "src/tools/tidy", "tidy";
     Linkchecker, "src/tools/linkchecker", "linkchecker";
     CargoTest, "src/tools/cargotest", "cargotest";
-    Compiletest, "src/tools/compiletest", "compiletest", llvm_tools = true;
+    Compiletest, "src/tools/compiletest", "compiletest";
     BuildManifest, "src/tools/build-manifest", "build-manifest";
     RemoteTestClient, "src/tools/remote-test-client", "remote-test-client";
     RustInstaller, "src/tools/rust-installer", "fabricate", is_external_tool = true;