langref: disable @cImport tests on NetBSD
https://github.com/Vexu/arocc/issues/960
2 files changed, 2 insertions(+), 0 deletions(-)
doc
langref
doc/langref/cImport_builtin.zig+1
| ... | ... | @@ -4,6 +4,7 @@ const c = @cImport({ |
| 4 | 4 | @cInclude("stdio.h"); |
| 5 | 5 | }); |
| 6 | 6 | pub fn main() void { |
| 7 | if (@import("builtin").os.tag == .netbsd) return; // https://github.com/Vexu/arocc/issues/960 |
| 7 | 8 | _ = c.printf("hello\n"); |
| 8 | 9 | } |
| 9 | 10 | |
doc/langref/verbose_cimport_flag.zig+1
| ... | ... | @@ -3,6 +3,7 @@ const c = @cImport({ |
| 3 | 3 | @cInclude("stdio.h"); |
| 4 | 4 | }); |
| 5 | 5 | pub fn main() void { |
| 6 | if (@import("builtin").os.tag == .netbsd) return; // https://github.com/Vexu/arocc/issues/960 |
| 6 | 7 | _ = c; |
| 7 | 8 | } |
| 8 | 9 | |