diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-06 18:03:07 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-26 13:52:24 +0000 |
| commit | 948f7798d70b6adb6a490b8867e155dadebd3f0e (patch) | |
| tree | 5391d344dbfcd7af5712ad0061eeb77d12cb67f6 /compiler/rustc_codegen_ssa/src/traits | |
| parent | fe2eeabe27ce3d5b871ab903e65b4707ad015764 (diff) | |
| download | rust-948f7798d70b6adb6a490b8867e155dadebd3f0e.tar.gz rust-948f7798d70b6adb6a490b8867e155dadebd3f0e.zip | |
Remove support for -Zcombine-cgu
Nobody seems to actually use this, while still adding some extra complexity to the already rather complex codegen coordinator code. It is also not supported by any backend other than the LLVM backend.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/traits')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/write.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/write.rs b/compiler/rustc_codegen_ssa/src/traits/write.rs index 8e78cbe1963..f391c198e1a 100644 --- a/compiler/rustc_codegen_ssa/src/traits/write.rs +++ b/compiler/rustc_codegen_ssa/src/traits/write.rs @@ -16,12 +16,6 @@ pub trait WriteBackendMethods: Clone + 'static { type ThinData: Send + Sync; type ThinBuffer: ThinBufferMethods; - /// Merge all modules into main_module and returning it - fn run_link( - cgcx: &CodegenContext<Self>, - dcx: DiagCtxtHandle<'_>, - modules: Vec<ModuleCodegen<Self::Module>>, - ) -> Result<ModuleCodegen<Self::Module>, FatalError>; /// Performs fat LTO by merging all modules into a single one, running autodiff /// if necessary and running any further optimizations fn run_and_optimize_fat_lto( |
