mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
langref: disable @cImport tests on NetBSD
https://github.com/Vexu/arocc/issues/960
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user