aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2025-09-30 22:06:36 -0700
committerRyan Liptak <squeek502@hotmail.com>2025-10-03 18:26:05 -0700
commite393543e630e29cda88737c85fa0aa19cc40f096 (patch)
tree5f9821192e5378f066690c43227cf5207205d9b2 /src/codegen
parent900315a3f3b29ac18945152894fc772e37713619 (diff)
downloadzig-e393543e630e29cda88737c85fa0aa19cc40f096.tar.gz
zig-e393543e630e29cda88737c85fa0aa19cc40f096.zip
Support generating import libraries from mingw .def files without LLVM
For the supported COFF machine types of X64 (x86_64), I386 (x86), ARMNT (thumb), and ARM64 (aarch64), this new Zig implementation results in byte-for-byte identical .lib files when compared to the previous LLVM-backed implementation.
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/llvm/bindings.zig8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/codegen/llvm/bindings.zig b/src/codegen/llvm/bindings.zig
index 89bdb4b3da..2baabe99bf 100644
--- a/src/codegen/llvm/bindings.zig
+++ b/src/codegen/llvm/bindings.zig
@@ -338,14 +338,6 @@ extern fn ZigLLVMWriteArchive(
pub const ParseCommandLineOptions = ZigLLVMParseCommandLineOptions;
extern fn ZigLLVMParseCommandLineOptions(argc: usize, argv: [*]const [*:0]const u8) void;
-pub const WriteImportLibrary = ZigLLVMWriteImportLibrary;
-extern fn ZigLLVMWriteImportLibrary(
- def_path: [*:0]const u8,
- coff_machine: c_uint,
- output_lib_path: [*:0]const u8,
- kill_at: bool,
-) bool;
-
pub const GetHostCPUName = LLVMGetHostCPUName;
extern fn LLVMGetHostCPUName() ?[*:0]u8;