File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Expand file tree Collapse file tree 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;
1010const LLVM_COMPONENTS_HEADER : & str = "needs-llvm-components:" ;
1111const COMPILE_FLAGS_HEADER : & str = "compile-flags:" ;
1212
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-
3313#[ derive( Default , Debug ) ]
3414struct RevisionInfo < ' a > {
3515 target_arch : Option < & ' a str > ,
@@ -88,20 +68,6 @@ pub fn check(path: &Path, bad: &mut bool) {
8868 // gathered.
8969 }
9070 }
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- }
10571 }
10672 } ) ;
10773}
You can’t perform that action at this time.
0 commit comments