zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 2c70c40499d260804d3e6441f6e8ff8b88378a8c (tree)
parent c56f3eae689012ca416e66e7bb049ebaad8ffeb7
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Tue, 19 May 2026 15:37:32 -0700

configurer: fix serialization of Run path_directory args

Diffstat:
Mlib/compiler/configurer.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/compiler/configurer.zig b/lib/compiler/configurer.zig @@ -358,7 +358,7 @@ const Serialize = struct { .link_libc = false, }, .prefix = .{ .value = if (a.prefix.len != 0) try wc.addString(a.prefix) else null }, - .suffix = .{ .value = try addOptionalString(s, a.suffix) }, + .suffix = .{ .value = if (a.suffix.len != 0) try wc.addString(a.suffix) else null }, .basename = .{ .value = null }, .path = .{ .value = try addLazyPath(s, a.lazy_path) }, .producer = .{ .value = null },