File tree Expand file tree Collapse file tree 4 files changed +32
-11
lines changed
target-without-atomic-cas Expand file tree Collapse file tree 4 files changed +32
-11
lines changed Original file line number Diff line number Diff line change 55//!
66//! It also checks that some targets have the correct set cfgs.
77
8+ // ignore-tidy-linelength
9+ //@ needs-llvm-components: arm x86
10+ // Note: without the needs-llvm-components it will fail on LLVM built without the required
11+ // components listed above.
12+
813use std:: collections:: HashSet ;
914use std:: iter:: FromIterator ;
1015use std:: path:: PathBuf ;
Original file line number Diff line number Diff line change 1- // Checks that all the targets returned by `rustc --print target-list` are valid
2- // target specifications
1+ // Checks that all the targets returned by `rustc --print target-list` are valid target
2+ // specifications.
3+
4+ // ignore-tidy-linelength
5+ //@ needs-llvm-components: aarch64 arm avr bpf csky hexagon loongarch m68k mips msp430 nvptx powerpc riscv sparc systemz webassembly x86
6+ // FIXME(jieyouxu): there has to be a better way to do this, without the needs-llvm-components it
7+ // will fail on LLVM built without all of the components listed above.
38
49use run_make_support:: bare_rustc;
510
6- // FIXME(127877): certain experimental targets fail with creating a 'LLVM TargetMachine'
7- // in CI, so we skip them
11+ // FIXME(# 127877): certain experimental targets fail with creating a 'LLVM TargetMachine' in CI, so
12+ // we skip them.
813const EXPERIMENTAL_TARGETS : & [ & str ] = & [ "avr" , "m68k" , "csky" , "xtensa" ] ;
914
1015fn main ( ) {
Original file line number Diff line number Diff line change 1- //! This checks the output of some `--print` options when
2- //! output to a file (instead of stdout)
1+ //! This checks the output of some `--print` options when output to a file (instead of stdout)
2+
3+ // ignore-tidy-linelength
4+ //@ needs-llvm-components: aarch64 arm avr bpf csky hexagon loongarch m68k mips msp430 nvptx powerpc riscv sparc systemz webassembly x86
5+ // FIXME(jieyouxu): there has to be a better way to do this, without the needs-llvm-components it
6+ // will fail on LLVM built without all of the components listed above. If adding a new target that
7+ // relies on a llvm component not listed above, it will need to be added to the required llvm
8+ // components above.
39
410use std:: path:: PathBuf ;
511
Original file line number Diff line number Diff line change 1- // ARM Cortex-M are a class of processors supported by the rust compiler. However,
2- // they cannot support any atomic features, such as Arc. This test simply prints
3- // the configuration details of one Cortex target, and checks that the compiler
4- // does not falsely list atomic support.
5- // See https://github.com/rust-lang/rust/pull/36874
1+ // ARM Cortex-M are a class of processors supported by the rust compiler. However, they cannot
2+ // support any atomic features, such as Arc. This test simply prints the configuration details of
3+ // one Cortex target, and checks that the compiler does not falsely list atomic support.
4+ // See <https://github.com/rust-lang/rust/pull/36874>.
5+
6+ // ignore-tidy-linelength
7+ //@ needs-llvm-components: arm
8+ // Note: without the needs-llvm-components it will fail on LLVM built without all of the components
9+ // listed above. If any new targets are added, please double-check their respective llvm components
10+ // are specified above.
611
712use run_make_support:: rustc;
813
You can’t perform that action at this time.
0 commit comments