mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Added apxf target feature test
This commit is contained in:
parent
43357b4a64
commit
c32dc2dbda
@ -27,6 +27,7 @@ LL | cfg!(target_feature = "_UNEXPECTED_VALUE");
|
|||||||
`amx-tf32`
|
`amx-tf32`
|
||||||
`amx-tile`
|
`amx-tile`
|
||||||
`amx-transpose`
|
`amx-transpose`
|
||||||
|
`apxf`
|
||||||
`atomics`
|
`atomics`
|
||||||
`avx`
|
`avx`
|
||||||
`avx10.1`
|
`avx10.1`
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
//@ only-x86_64
|
||||||
|
#[target_feature(enable = "apxf")]
|
||||||
|
//~^ ERROR: currently unstable
|
||||||
|
unsafe fn foo() {}
|
||||||
|
|
||||||
|
fn main() {}
|
@ -0,0 +1,13 @@
|
|||||||
|
error[E0658]: the target feature `apxf` is currently unstable
|
||||||
|
--> $DIR/feature-gate-apx-target-feature.rs:2:18
|
||||||
|
|
|
||||||
|
LL | #[target_feature(enable = "apxf")]
|
||||||
|
| ^^^^^^^^^^^^^^^
|
||||||
|
|
|
||||||
|
= note: see issue #139284 <https://github.com/rust-lang/rust/issues/139284> for more information
|
||||||
|
= help: add `#![feature(apx_target_feature)]` to the crate attributes to enable
|
||||||
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
|
error: aborting due to 1 previous error
|
||||||
|
|
||||||
|
For more information about this error, try `rustc --explain E0658`.
|
Loading…
Reference in New Issue
Block a user