is_arm_feature_detected in std::arch - Rust
Description: Check for the presence of a CPU feature at runtime.

## is_arm_feature_detected

# Macro is_arm_feature_detected

Source

    macro_rules! is_arm_feature_detected {
        ("neon") => { ... };
        ("pmull") => { ... };
        ("crc") => { ... };
        ("aes") => { ... };
        ("sha2") => { ... };
        ("i8mm") => { ... };
        ("dotprod") => { ... };
        ("v7") => { ... };
        ("vfp2") => { ... };
        ("vfp3") => { ... };
        ("vfp4") => { ... };
        ($t:tt,) => { ... };
        ($t:tt) => { ... };
    }

🔬This is a nightly-only experimental API. (`stdarch_arm_feature_detection` #111190)
Expand description

Check for the presence of a CPU feature at runtime.

When the feature is known to be enabled at compile time (e.g. via `-Ctarget-feature`) the macro expands to `true`.