Use the object crate rather than LLVM for extracting bitcode sections

This commit is contained in:
bjorn3
2025-07-25 09:42:18 +00:00
parent 27e2709f3e
commit fe2eeabe27
5 changed files with 10 additions and 66 deletions

View File

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