Make iteration order of wasm_import_module_map query stable

This commit is contained in:
Michael Woerister 2023-12-21 11:13:03 +01:00
parent 02c7717ba6
commit 762e21f8c1
2 changed files with 4 additions and 4 deletions

View file

@ -611,7 +611,7 @@ rustc_queries! {
desc { "erasing regions from `{}`", ty }
}
query wasm_import_module_map(_: CrateNum) -> &'tcx FxHashMap<DefId, String> {
query wasm_import_module_map(_: CrateNum) -> &'tcx DefIdMap<String> {
arena_cache
desc { "getting wasm import module map" }
}