diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-29 15:01:36 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-29 21:17:13 +1100 |
| commit | ba81dbf3c6bc4b647f9f1eb0e6da7f318c647a84 (patch) | |
| tree | 15b82adcdacaf020e91413f0678448b2a2bdad70 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | 2df8dbb1b37168c59eca2884502a1b79892858a9 (diff) | |
| download | rust-ba81dbf3c6bc4b647f9f1eb0e6da7f318c647a84.tar.gz rust-ba81dbf3c6bc4b647f9f1eb0e6da7f318c647a84.zip | |
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. <https://github.com/llvm/llvm-project/commit/200cc952a28a73687ba24d5334415df6332f2d5b>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index acc66076833..c204fbe32df 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -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>); |
