File tree 1 file changed +0
-34
lines changed
1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -10,26 +10,6 @@ use crate::walk::filter_not_rust;
10
10
const LLVM_COMPONENTS_HEADER : & str = "needs-llvm-components:" ;
11
11
const COMPILE_FLAGS_HEADER : & str = "compile-flags:" ;
12
12
13
- const KNOWN_LLVM_COMPONENTS : & [ & str ] = & [
14
- "aarch64" ,
15
- "arm" ,
16
- "avr" ,
17
- "bpf" ,
18
- "csky" ,
19
- "hexagon" ,
20
- "loongarch" ,
21
- "m68k" ,
22
- "mips" ,
23
- "msp430" ,
24
- "nvptx" ,
25
- "powerpc" ,
26
- "riscv" ,
27
- "sparc" ,
28
- "systemz" ,
29
- "webassembly" ,
30
- "x86" ,
31
- ] ;
32
-
33
13
#[ derive( Default , Debug ) ]
34
14
struct RevisionInfo < ' a > {
35
15
target_arch : Option < & ' a str > ,
@@ -88,20 +68,6 @@ pub fn check(path: &Path, bad: &mut bool) {
88
68
// gathered.
89
69
}
90
70
}
91
- if let Some ( llvm_components) = llvm_components {
92
- for component in llvm_components {
93
- // Ensure the given component even exists.
94
- // This is somewhat redundant with COMPILETEST_REQUIRE_ALL_LLVM_COMPONENTS,
95
- // but helps detect such problems earlier (PR CI rather than bors CI).
96
- if !KNOWN_LLVM_COMPONENTS . contains ( component) {
97
- eprintln ! (
98
- "{}: revision {} specifies unknown LLVM component `{}`" ,
99
- file, rev, component
100
- ) ;
101
- * bad = true ;
102
- }
103
- }
104
- }
105
71
}
106
72
} ) ;
107
73
}
You can’t perform that action at this time.
0 commit comments