diff --git a/lib/std/os/test.zig b/lib/std/os/test.zig index 40e0991e5f..490e123506 100644 --- a/lib/std/os/test.zig +++ b/lib/std/os/test.zig @@ -752,6 +752,11 @@ test "fsync" { } test "getrlimit and setrlimit" { + if (builtin.target.os.tag == .macos) { + // https://github.com/ziglang/zig/issues/18395 + return error.SkipZigTest; + } + if (!@hasDecl(os.system, "rlimit")) { return error.SkipZigTest; }