From 1914d1a6e58b0c37859869096871f1f1154945c6 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 c1845b9a72..2a3310384b 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})); }