rustc_codegen_ssa::target_features

Function from_target_feature_attr

Source
pub(crate) fn from_target_feature_attr(
    tcx: TyCtxt<'_>,
    attr: &Attribute,
    rust_target_features: &UnordMap<String, Stability>,
    target_features: &mut Vec<TargetFeature>,
)
Expand description

Compute the enabled target features from the #[target_feature] function attribute. Enabled target features are added to target_features.