@@ -75,7 +75,7 @@ use rustc_codegen_ssa::back::write::{CodegenContext, FatLTOInput, ModuleConfig,
75
75
use rustc_codegen_ssa:: back:: lto:: { LtoModuleCodegen , SerializedModule , ThinModule } ;
76
76
use rustc_codegen_ssa:: target_features:: supported_target_features;
77
77
use rustc_codegen_ssa:: traits:: { CodegenBackend , ExtraBackendMethods , ModuleBufferMethods , ThinBufferMethods , WriteBackendMethods } ;
78
- use rustc_data_structures:: fx:: FxHashMap ;
78
+ use rustc_data_structures:: fx:: FxIndexMap ;
79
79
use rustc_errors:: { DiagnosticMessage , ErrorGuaranteed , Handler , SubdiagnosticMessage } ;
80
80
use rustc_fluent_macro:: fluent_messages;
81
81
use rustc_metadata:: EncodedMetadata ;
@@ -137,7 +137,7 @@ impl CodegenBackend for GccCodegenBackend {
137
137
Box :: new ( res)
138
138
}
139
139
140
- fn join_codegen ( & self , ongoing_codegen : Box < dyn Any > , sess : & Session , _outputs : & OutputFilenames ) -> Result < ( CodegenResults , FxHashMap < WorkProductId , WorkProduct > ) , ErrorGuaranteed > {
140
+ fn join_codegen ( & self , ongoing_codegen : Box < dyn Any > , sess : & Session , _outputs : & OutputFilenames ) -> Result < ( CodegenResults , FxIndexMap < WorkProductId , WorkProduct > ) , ErrorGuaranteed > {
141
141
let ( codegen_results, work_products) = ongoing_codegen
142
142
. downcast :: < rustc_codegen_ssa:: back:: write:: OngoingCodegen < GccCodegenBackend > > ( )
143
143
. expect ( "Expected GccCodegenBackend's OngoingCodegen, found Box<Any>" )
0 commit comments