langref: disable @cImport tests on NetBSD

https://github.com/Vexu/arocc/issues/960
This commit is contained in:
Alex Rønne Petersen
2026-01-15 11:13:20 +01:00
parent eb3f16db5e
commit b7a4756e1d
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ const c = @cImport({
@cInclude("stdio.h");
});
pub fn main() void {
if (@import("builtin").os.tag == .netbsd) return; // https://github.com/Vexu/arocc/issues/960
_ = c.printf("hello\n");
}
+1
View File
@@ -3,6 +3,7 @@ const c = @cImport({
@cInclude("stdio.h");
});
pub fn main() void {
if (@import("builtin").os.tag == .netbsd) return; // https://github.com/Vexu/arocc/issues/960
_ = c;
}