Remove want_summary argument from prepare_thin

It is always false nowadays. ThinLTO summary writing is instead done by
llvm_optimize.
This commit is contained in:
bjorn3
2025-09-04 15:16:55 +00:00
parent e3d0b7d648
commit f2933b34a8
9 changed files with 16 additions and 37 deletions

View File

@@ -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;