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