mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
20ebbf467d
Combining revisions with only-arch allows specifying that a test only applies to a handful of targets. This allows removing a large amount of repetition in the test suite for tests that do not benefit. The revisions are suboptimal for this for some tests, so they aren't preferred in those cases.
26 lines
703 B
Rust
26 lines
703 B
Rust
// only-x86_64
|
|
//
|
|
// gate-test-sse4a_target_feature
|
|
// gate-test-powerpc_target_feature
|
|
// gate-test-avx512_target_feature
|
|
// gate-test-tbm_target_feature
|
|
// gate-test-arm_target_feature
|
|
// gate-test-hexagon_target_feature
|
|
// gate-test-mips_target_feature
|
|
// gate-test-wasm_target_feature
|
|
// gate-test-adx_target_feature
|
|
// gate-test-cmpxchg16b_target_feature
|
|
// gate-test-movbe_target_feature
|
|
// gate-test-rtm_target_feature
|
|
// gate-test-f16c_target_feature
|
|
// gate-test-riscv_target_feature
|
|
// gate-test-ermsb_target_feature
|
|
// gate-test-bpf_target_feature
|
|
// gate-test-aarch64_ver_target_feature
|
|
|
|
#[target_feature(enable = "avx512bw")]
|
|
//~^ ERROR: currently unstable
|
|
unsafe fn foo() {}
|
|
|
|
fn main() {}
|