about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-09-04 15:16:55 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-09-06 18:37:23 +0000
commitf2933b34a8331204270fa2bdbdcfd79fcffbb302 (patch)
treee6fa7c3928de52674ff94885ca50d69b4352954d /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parente3d0b7d6480d7e4dbbbea24635f56e28dfe735b3 (diff)
downloadrust-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_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index b66fc157b3c..0679f55ab7f 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2602,7 +2602,6 @@ unsafe extern "C" {
     pub(crate) fn LLVMRustThinLTOBufferCreate(
         M: &Module,
         is_thin: bool,
-        emit_summary: bool,
     ) -> &'static mut ThinLTOBuffer;
     pub(crate) fn LLVMRustThinLTOBufferFree(M: &'static mut ThinLTOBuffer);
     pub(crate) fn LLVMRustThinLTOBufferPtr(M: &ThinLTOBuffer) -> *const c_char;