Add implied target features to target_feature attribute
This commit is contained in:
parent
6696447f78
commit
74653b61a6
5 changed files with 113 additions and 31 deletions
|
@ -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" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue