pub(crate) fn from_target_feature_attr(
tcx: TyCtxt<'_>,
did: LocalDefId,
features: &[(Symbol, Span)],
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.