W3cubDocs

/Rust

Macro is_mips_feature_detected

macro_rules! is_mips_feature_detected {
    ("msa") => { ... };
    ($t:tt,) => { ... };
    ($t:tt) => { ... };
}
🔬This is a nightly-only experimental API. (stdarch_mips_feature_detection #111188)

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.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/arch/macro.is_mips_feature_detected.html