Function rustc_driver::target_features::add_configuration
[−]
[src]
pub fn add_configuration(
cfg: &mut CrateConfig,
sess: &Session,
trans: &TransCrate
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Add target_feature = "..."
cfgs for a variety of platform
specific features (SSE, NEON etc.).
This is performed by checking whether a whitelisted set of features is available on the target machine, by querying LLVM.