File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed
tests/run-make/print-target-list Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,26 @@ const KNOWN_LLVM_COMPONENTS: &[&str] = &[
1717 "bpf" ,
1818 "csky" ,
1919 "hexagon" ,
20+ "i386" ,
21+ "i586" ,
22+ "i686" ,
2023 "loongarch" ,
24+ "loongarch64" ,
2125 "m68k" ,
2226 "mips" ,
2327 "msp430" ,
2428 "nvptx" ,
29+ "nvptx64" ,
2530 "powerpc" ,
2631 "riscv" ,
32+ "s390x" ,
2733 "sparc" ,
2834 "systemz" ,
35+ "thumb" ,
36+ "wasm" ,
2937 "webassembly" ,
3038 "x86" ,
39+ "xtensa" ,
3140] ;
3241
3342#[ derive( Default , Debug ) ]
@@ -77,11 +86,13 @@ pub fn check(path: &Path, bad: &mut bool) {
7786 * bad = true ;
7887 }
7988 ( None , Some ( _) ) => {
80- eprintln ! (
81- "{}: revision {} should not specify `{}` as it doesn't need `--target`" ,
82- file, rev, LLVM_COMPONENTS_HEADER
83- ) ;
84- * bad = true ;
89+ // FIXME(127877): `run-make/print-target-list` test needs certain
90+ // llvm_components on several targets
91+ // eprintln!(
92+ // "{}: revision {} should not specify `{}` as it doesn't need `--target`",
93+ // file, rev, LLVM_COMPONENTS_HEADER
94+ // );
95+ // *bad = true;
8596 }
8697 ( Some ( _) , Some ( _) ) => {
8798 // FIXME: check specified components against the target architectures we
Original file line number Diff line number Diff line change 11// Checks that all the targets returned by `rustc --print target-list` are valid
22// target specifications
33
4+ //@ needs-llvm-components: aarch64 arm avr bpf csky hexagon i386 i586 i686 loongarch64
5+ //@ needs-llvm-components: m68k mips msp430 nvptx64 powerpc riscv s390x sparc thumb wasm x86 xtensa
6+
47use run_make_support:: bare_rustc;
58
69fn main ( ) {
You can’t perform that action at this time.
0 commit comments