From 96b4eeab55e21b294af3c915dda2881258601532 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 28 Dec 2023 21:21:42 -0700 Subject: [PATCH] std: disable failing test on macos See tracking issue https://github.com/ziglang/zig/issues/18395 --- lib/std/os/test.zig | 5 +++++ 1 file changed, 5 insertions(+) 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; }