rust/tests/ui/target-feature/gate.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
913 B
Rust
Raw Normal View History

// ignore-arm
// ignore-aarch64
// ignore-wasm
// ignore-emscripten
2018-07-31 09:01:27 +00:00
// ignore-mips
// ignore-mips64
// ignore-powerpc
// ignore-powerpc64
// ignore-riscv64
// ignore-sparc
// ignore-sparc64
// ignore-s390x
2023-04-14 09:42:08 +00:00
// ignore-loongarch64
// 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
2018-08-08 00:10:06 +00:00
// gate-test-wasm_target_feature
// gate-test-adx_target_feature
// gate-test-cmpxchg16b_target_feature
2019-01-30 13:27:55 +00:00
// gate-test-movbe_target_feature
2019-04-17 23:38:54 +00:00
// gate-test-rtm_target_feature
// gate-test-f16c_target_feature
2020-03-01 09:52:04 +00:00
// gate-test-riscv_target_feature
// gate-test-ermsb_target_feature
2021-05-29 12:58:04 +00:00
// gate-test-bpf_target_feature
2022-02-10 16:43:45 +00:00
// gate-test-aarch64_ver_target_feature
#[target_feature(enable = "avx512bw")]
//~^ ERROR: currently unstable
2020-09-03 18:14:15 +00:00
unsafe fn foo() {}
fn main() {}