From e6e93d82b0272ce34d12ee3c59428a3b83caf447 Mon Sep 17 00:00:00 2001 From: mlugg Date: Wed, 1 Oct 2025 13:18:00 +0100 Subject: [PATCH] Lld: fix implib emit path Resolves: https://github.com/ziglang/zig/issues/24993 --- src/link/Lld.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/link/Lld.zig b/src/link/Lld.zig index 48872f7077..1868270502 100644 --- a/src/link/Lld.zig +++ b/src/link/Lld.zig @@ -505,7 +505,7 @@ fn coffLink(lld: *Lld, arena: Allocator) !void { try argv.append(try allocPrint(arena, "-OUT:{s}", .{full_out_path})); if (comp.emit_implib) |raw_emit_path| { - const path = try comp.resolveEmitPathFlush(arena, .temp, raw_emit_path); + const path = try comp.resolveEmitPathFlush(arena, .artifact, raw_emit_path); try argv.append(try allocPrint(arena, "-IMPLIB:{f}", .{path})); }