Make iteration order of supported_target_features query stable

This commit is contained in:
Michael Woerister 2023-12-21 12:30:36 +01:00
parent 7d4f2ee817
commit 5449638d7d
2 changed files with 3 additions and 3 deletions

View file

@ -2082,7 +2082,7 @@ rustc_queries! {
desc { "computing autoderef types for `{}`", goal.value.value }
}
query supported_target_features(_: CrateNum) -> &'tcx FxHashMap<String, Option<Symbol>> {
query supported_target_features(_: CrateNum) -> &'tcx UnordMap<String, Option<Symbol>> {
arena_cache
eval_always
desc { "looking up supported target features" }