Function rustc_driver::target_features::add_configuration [] [src]

pub fn add_configuration(cfg: &mut CrateConfig, sess: &Session)
Unstable (rustc_private)

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.