zig

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

commit eb3f16db5e20a7de0695e1a42ff32526faaff9f4 (tree)
parent 9f33c339c72d8aff92aefea01331b76a7829eb12
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Mon, 19 Jan 2026 18:49:32 +0100

test: clarify that `self_exe_symlink` fails on NetBSD due to bad F_GETPATH

closes https://codeberg.org/ziglang/zig/issues/30841

Diffstat:
Mtest/standalone/self_exe_symlink/build.zig | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/standalone/self_exe_symlink/build.zig b/test/standalone/self_exe_symlink/build.zig @@ -9,8 +9,8 @@ pub fn build(b: *std.Build) void { const optimize: std.builtin.OptimizeMode = .Debug; const target = b.graph.host; - if (target.result.os.tag == .netbsd) return; // https://codeberg.org/ziglang/zig/issues/30841 - if (target.result.os.tag == .openbsd) return; // realpath not supported + if (target.result.os.tag == .netbsd) return; // F_GETPATH not reliable + if (target.result.os.tag == .openbsd) return; // F_GETPATH not supported const main = b.addExecutable(.{ .name = "main",