about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPietro Albini <pietro.albini@ferrous-systems.com>2023-04-14 12:15:17 +0200
committerPietro Albini <pietro.albini@ferrous-systems.com>2023-04-14 12:15:17 +0200
commit34a52dfc7a8a650d940fac1a6258c7a4fb2ae19a (patch)
tree25c9fd83979b5a2f16dd4105a59a4586d854cb4c /src
parent0f8a06b6c070b2c79228fcb6cd0dc210fcb7869a (diff)
downloadrust-34a52dfc7a8a650d940fac1a6258c7a4fb2ae19a.tar.gz
rust-34a52dfc7a8a650d940fac1a6258c7a4fb2ae19a.zip
mark needs-llvm-components as being handled elsewhere
Diffstat (limited to 'src')
-rw-r--r--src/tools/compiletest/src/header/needs.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/header/needs.rs b/src/tools/compiletest/src/header/needs.rs
index 8b42ef5db59..35d6179abaa 100644
--- a/src/tools/compiletest/src/header/needs.rs
+++ b/src/tools/compiletest/src/header/needs.rs
@@ -126,6 +126,11 @@ pub(super) fn handle_needs(
         return IgnoreDecision::Continue;
     }
 
+    // Handled elsewhere.
+    if name == "needs-llvm-components" {
+        return IgnoreDecision::Continue;
+    }
+
     let mut found_valid = false;
     for need in needs {
         if need.name == name {