rust/tests/ui/target-feature/auxiliary/using-target-feature-unstable.rs
Ralf Jung ffad9aac27 mark some target features as 'forbidden' so they cannot be (un)set
For now, this is just a warning, but should become a hard error in the future
2024-11-04 22:56:47 +01:00

6 lines
110 B
Rust

#![feature(avx512_target_feature)]
#[inline]
#[target_feature(enable = "avx512ifma")]
pub unsafe fn foo() {}