authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-15 11:13:20+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-21 16:42:45+01:00
logb7a4756e1dd4d35da8f4c14dde1e84cca16d4833
tree8d6bdf562a03e2d998eabce41d33ab8f4c4a8d0a
parenteb3f16db5e20a7de0695e1a42ff32526faaff9f4
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

langref: disable @cImport tests on NetBSD

https://github.com/Vexu/arocc/issues/960

2 files changed, 2 insertions(+), 0 deletions(-)

doc/langref/cImport_builtin.zig+1
......@@ -4,6 +4,7 @@ const c = @cImport({
44 @cInclude("stdio.h");
55});
66pub fn main() void {
7 if (@import("builtin").os.tag == .netbsd) return; // https://github.com/Vexu/arocc/issues/960
78 _ = c.printf("hello\n");
89}
910
doc/langref/verbose_cimport_flag.zig+1
......@@ -3,6 +3,7 @@ const c = @cImport({
33 @cInclude("stdio.h");
44});
55pub fn main() void {
6 if (@import("builtin").os.tag == .netbsd) return; // https://github.com/Vexu/arocc/issues/960
67 _ = c;
78}
89