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-07-25 09:42:18 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-07-25 11:21:28 +0000
commitfe2eeabe27ce3d5b871ab903e65b4707ad015764 (patch)
treeba0e2983e57433a8f60e29a184f558f137a65ec6 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent27e2709f3e8d8f03b05704bc7e3e9110dd64397b (diff)
downloadrust-fe2eeabe27ce3d5b871ab903e65b4707ad015764.tar.gz
rust-fe2eeabe27ce3d5b871ab903e65b4707ad015764.zip
Use the object crate rather than LLVM for extracting bitcode sections
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index edfb29dd1be..0d0cb5f139e 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2612,13 +2612,6 @@ unsafe extern "C" {
         len: usize,
         Identifier: *const c_char,
     ) -> Option<&Module>;
-    pub(crate) fn LLVMRustGetSliceFromObjectDataByName(
-        data: *const u8,
-        len: usize,
-        name: *const u8,
-        name_len: usize,
-        out_len: &mut usize,
-    ) -> *const u8;
 
     pub(crate) fn LLVMRustLinkerNew(M: &Module) -> &mut Linker<'_>;
     pub(crate) fn LLVMRustLinkerAdd(