[−][src]Crate std_detect
stdsimd
)Run-time feature detection for the Rust standard library.
To detect whether a feature is enabled in the system running the binary use one of the appropriate macro for the target:
x86
andx86_64
:is_x86_feature_detected
arm
:is_arm_feature_detected
aarch64
:is_aarch64_feature_detected
mips
:is_mips_feature_detected
mips64
:is_mips64_feature_detected
powerpc
:is_powerpc_feature_detected
powerpc64
:is_powerpc64_feature_detected
Macros
is_aarch64_feature_detected | Experimental Checks if |
is_arm_feature_detected | Experimental Prevents compilation if |
is_mips64_feature_detected | Experimental Prevents compilation if |
is_mips_feature_detected | Experimental Prevents compilation if |
is_powerpc64_feature_detected | Experimental Prevents compilation if |
is_powerpc_feature_detected | Experimental Prevents compilation if |
is_x86_feature_detected | Experimental Prevents compilation if |