rustc_codegen_llvm::llvm_util

Function target_features

Source
pub fn target_features(sess: &Session, allow_unstable: bool) -> Vec<Symbol>
Expand description

Used to generate cfg variables and apply features. Must express features in the way Rust understands them.

We do not have to worry about RUSTC_SPECIFIC_FEATURES here, those are handled outside codegen.