diff options
| author | Caleb Zulawski <caleb.zulawski@gmail.com> | 2024-07-26 00:05:20 -0400 |
|---|---|---|
| committer | Caleb Zulawski <caleb.zulawski@gmail.com> | 2024-08-07 00:41:48 -0400 |
| commit | 74653b61a67ae7db9f77ea1e09e65e40686c9058 (patch) | |
| tree | c589eeb5a45e37481ce4a98efd90b0b09654ebe3 /compiler/rustc_middle/src/query | |
| parent | 6696447f784a888446d13bb400a8d507a68331c9 (diff) | |
| download | rust-74653b61a67ae7db9f77ea1e09e65e40686c9058.tar.gz rust-74653b61a67ae7db9f77ea1e09e65e40686c9058.zip | |
Add implied target features to target_feature attribute
Diffstat (limited to 'compiler/rustc_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index c22c2e985ab..b6a29432650 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -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" } |
