Add implied target features to target_feature attribute
This commit is contained in:
@@ -2183,6 +2183,12 @@ rustc_queries! {
|
||||
desc { "looking up supported target features" }
|
||||
}
|
||||
|
||||
query implied_target_features(feature: Symbol) -> &'tcx UnordSet<Symbol> {
|
||||
arena_cache
|
||||
eval_always
|
||||
desc { "looking up implied target features" }
|
||||
}
|
||||
|
||||
query features_query(_: ()) -> &'tcx rustc_feature::Features {
|
||||
feedable
|
||||
desc { "looking up enabled feature gates" }
|
||||
|
||||
Reference in New Issue
Block a user