commit ccc78252f153e02450c7de273cd553074a65ae02 (tree)
parent bbacf42837938ddbb88efae8cae99aec24debd0f
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Mon, 5 Jan 2026 12:50:16 +0100
std.Io.test: disable flaky recancel test on linux w/o libc
https://codeberg.org/ziglang/zig/issues/30592
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/std/Io/test.zig b/lib/std/Io/test.zig
@@ -421,6 +421,8 @@ test "Event" {
}
test "recancel" {
+ if (builtin.os.tag == .linux and !builtin.link_libc) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30592
+
const global = struct {
fn worker(io: Io) Io.Cancelable!void {
var dummy_event: Io.Event = .unset;