@@ -421,7 +421,7 @@ pub fn start_async_codegen<B: ExtraBackendMethods>(
421
421
let linker_info = LinkerInfo :: new ( tcx) ;
422
422
let crate_info = CrateInfo :: new ( tcx) ;
423
423
424
- let modules_config = ModuleConfig :: new ( ModuleKind :: Regular , sess, no_builtins) ;
424
+ let regular_config = ModuleConfig :: new ( ModuleKind :: Regular , sess, no_builtins) ;
425
425
let metadata_config = ModuleConfig :: new ( ModuleKind :: Metadata , sess, no_builtins) ;
426
426
let allocator_config = ModuleConfig :: new ( ModuleKind :: Allocator , sess, no_builtins) ;
427
427
@@ -437,7 +437,7 @@ pub fn start_async_codegen<B: ExtraBackendMethods>(
437
437
coordinator_receive,
438
438
total_cgus,
439
439
sess. jobserver . clone ( ) ,
440
- Arc :: new ( modules_config ) ,
440
+ Arc :: new ( regular_config ) ,
441
441
Arc :: new ( metadata_config) ,
442
442
Arc :: new ( allocator_config) ,
443
443
coordinator_send. clone ( ) ,
@@ -937,7 +937,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
937
937
coordinator_receive : Receiver < Box < dyn Any + Send > > ,
938
938
total_cgus : usize ,
939
939
jobserver : Client ,
940
- modules_config : Arc < ModuleConfig > ,
940
+ regular_config : Arc < ModuleConfig > ,
941
941
metadata_config : Arc < ModuleConfig > ,
942
942
allocator_config : Arc < ModuleConfig > ,
943
943
tx_to_llvm_workers : Sender < Box < dyn Any + Send > > ,
@@ -1020,7 +1020,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
1020
1020
coordinator_send,
1021
1021
diag_emitter : shared_emitter. clone ( ) ,
1022
1022
output_filenames : tcx. output_filenames ( LOCAL_CRATE ) ,
1023
- regular_module_config : modules_config ,
1023
+ regular_module_config : regular_config ,
1024
1024
metadata_module_config : metadata_config,
1025
1025
allocator_module_config : allocator_config,
1026
1026
tm_factory : TargetMachineFactory ( backend. target_machine_factory ( tcx. sess , ol, false ) ) ,
0 commit comments