Don't set unnecessary module flag "LTOPostLink"

This module flag was an internal detail of LLVM's optimization passes, and all
code involving it was removed in LLVM 17.

<200cc952a2>
This commit is contained in:
Zalathar 2024-10-29 15:01:36 +11:00
parent 2df8dbb1b3
commit ba81dbf3c6
3 changed files with 3 additions and 25 deletions

View file

@ -1842,8 +1842,6 @@ unsafe extern "C" {
value_len: size_t,
);
pub fn LLVMRustHasModuleFlag(M: &Module, name: *const c_char, len: size_t) -> bool;
pub fn LLVMRustDIBuilderCreate(M: &Module) -> &mut DIBuilder<'_>;
pub fn LLVMRustDIBuilderDispose<'a>(Builder: &'a mut DIBuilder<'a>);