diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-09-04 15:16:55 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-09-06 18:37:23 +0000 |
| commit | f2933b34a8331204270fa2bdbdcfd79fcffbb302 (patch) | |
| tree | e6fa7c3928de52674ff94885ca50d69b4352954d /compiler/rustc_codegen_ssa/src/traits | |
| parent | e3d0b7d6480d7e4dbbbea24635f56e28dfe735b3 (diff) | |
| download | rust-f2933b34a8331204270fa2bdbdcfd79fcffbb302.tar.gz rust-f2933b34a8331204270fa2bdbdcfd79fcffbb302.zip | |
Remove want_summary argument from prepare_thin
It is always false nowadays. ThinLTO summary writing is instead done by llvm_optimize.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/traits')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/write.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/write.rs b/compiler/rustc_codegen_ssa/src/traits/write.rs index 40f546ebc92..1ac1d7ef2e2 100644 --- a/compiler/rustc_codegen_ssa/src/traits/write.rs +++ b/compiler/rustc_codegen_ssa/src/traits/write.rs @@ -50,10 +50,7 @@ pub trait WriteBackendMethods: Clone + 'static { module: ModuleCodegen<Self::Module>, config: &ModuleConfig, ) -> CompiledModule; - fn prepare_thin( - module: ModuleCodegen<Self::Module>, - want_summary: bool, - ) -> (String, Self::ThinBuffer); + fn prepare_thin(module: ModuleCodegen<Self::Module>) -> (String, Self::ThinBuffer); fn serialize_module(module: ModuleCodegen<Self::Module>) -> (String, Self::ModuleBuffer); } |
