File tree 4 files changed +32
-11
lines changed
target-without-atomic-cas
4 files changed +32
-11
lines changed Original file line number Diff line number Diff line change 5
5
//!
6
6
//! It also checks that some targets have the correct set cfgs.
7
7
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
+
8
13
use std:: collections:: HashSet ;
9
14
use std:: iter:: FromIterator ;
10
15
use 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.
3
8
4
9
use run_make_support:: bare_rustc;
5
10
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.
8
13
const EXPERIMENTAL_TARGETS : & [ & str ] = & [ "avr" , "m68k" , "csky" , "xtensa" ] ;
9
14
10
15
fn 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.
3
9
4
10
use std:: path:: PathBuf ;
5
11
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.
6
11
7
12
use run_make_support:: rustc;
8
13
You can’t perform that action at this time.
0 commit comments