[][src]Crate std_detect

🔬 This is a nightly-only experimental API. (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:

Macros

is_x86_feature_detected

A macro to test at runtime whether a CPU feature is available on x86/x86-64 platforms.

is_aarch64_feature_detectedExperimental

Prevents compilation if is_aarch64_feature_detected is used somewhere else than aarch64 targets.

is_arm_feature_detectedExperimental

Prevents compilation if is_arm_feature_detected is used somewhere else than ARM targets.

is_mips64_feature_detectedExperimental

Prevents compilation if is_mips64_feature_detected is used somewhere else than MIPS64 targets.

is_mips_feature_detectedExperimental

Prevents compilation if is_mips_feature_detected is used somewhere else than MIPS targets.

is_powerpc64_feature_detectedExperimental

Prevents compilation if is_powerpc64_feature_detected is used somewhere else than PowerPC64 targets.

is_powerpc_feature_detectedExperimental

Prevents compilation if is_powerpc_feature_detected is used somewhere else than PowerPC targets.