File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -291,20 +291,21 @@ impl CodegenBackend for GccCodegenBackend {
291291 target_cpu ( sess) . to_owned ( )
292292 }
293293
294- fn codegen_crate ( & self , tcx : TyCtxt < ' _ > , crate_info : & CrateInfo ) -> Box < dyn Any > {
295- Box :: new ( codegen_crate ( self . clone ( ) , tcx, crate_info ) )
294+ fn codegen_crate ( & self , tcx : TyCtxt < ' _ > ) -> Box < dyn Any > {
295+ Box :: new ( codegen_crate ( self . clone ( ) , tcx) )
296296 }
297297
298298 fn join_codegen (
299299 & self ,
300300 ongoing_codegen : Box < dyn Any > ,
301301 sess : & Session ,
302302 _outputs : & OutputFilenames ,
303+ crate_info : & CrateInfo ,
303304 ) -> ( CompiledModules , FxIndexMap < WorkProductId , WorkProduct > ) {
304305 ongoing_codegen
305306 . downcast :: < rustc_codegen_ssa:: back:: write:: OngoingCodegen < GccCodegenBackend > > ( )
306307 . expect ( "Expected GccCodegenBackend's OngoingCodegen, found Box<Any>" )
307- . join ( sess)
308+ . join ( sess, crate_info )
308309 }
309310
310311 fn target_config ( & self , sess : & Session ) -> TargetConfig {
You can’t perform that action at this time.
0 commit comments