rust/tests/ui/feature-gates/feature-gate-sha512_sm_x86.rs
sayantn 41b017ec99 Add the sha512, sm3 and sm4 target features
Add the feature in `core/lib.rs`
2024-08-02 02:29:15 +05:30

7 lines
117 B
Rust

//@ only-x86_64
#[target_feature(enable = "sha512")]
//~^ ERROR: currently unstable
unsafe fn foo() {}
fn main() {}