diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-03 14:44:26 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-03 14:44:26 +0000 |
| commit | ee280a596d3b7c401547be9a6afadf7298ee3a55 (patch) | |
| tree | 15563b12d0135b7b77a0204df0d8fd4b2f275058 /compiler/rustc_codegen_ssa/src | |
| parent | 7fd78df3463c761a693ea79265a6a1faaf2ed51b (diff) | |
| download | rust-ee280a596d3b7c401547be9a6afadf7298ee3a55.tar.gz rust-ee280a596d3b7c401547be9a6afadf7298ee3a55.zip | |
Fat LTO always produces a single object file, so -Zcombine-cgu has no effect
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index 29e67be6eb6..762dc8f6c2d 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -1009,7 +1009,9 @@ fn execute_fat_lto_work_item<B: ExtraBackendMethods>( module_config: &ModuleConfig, ) -> Result<WorkItemResult<B>, FatalError> { B::optimize_fat(cgcx, &mut module)?; - finish_intra_module_work(cgcx, module, module_config) + + let module = B::codegen(cgcx, module, module_config)?; + Ok(WorkItemResult::Finished(module)) } fn execute_thin_lto_work_item<B: ExtraBackendMethods>( |
