From e3b7cad81e483dc79716a388676f39c483589642 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 4 Jan 2026 07:28:47 -0800 Subject: [PATCH] std.heap.DebugAllocator: disable already flaky test tracked by #22731 counterpart to ef1ddbe2f03a165c86af4e2dd36178b1d8661ebe --- lib/std/heap/debug_allocator.zig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/std/heap/debug_allocator.zig b/lib/std/heap/debug_allocator.zig index 0b57d934fc770fed35869169f6280fcb4d17ec74..c5abf6709c8d4d900f2c862b8e1f3110095303a0 100644 --- a/lib/std/heap/debug_allocator.zig +++ b/lib/std/heap/debug_allocator.zig @@ -1350,7 +1350,10 @@ test "non-page-allocator backing allocator" { } test "realloc large object to larger alignment" { - if (!builtin.link_libc and builtin.os.tag == .wasi) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22731 + if (builtin.os.tag == .wasi) { + // https://github.com/ziglang/zig/issues/22731 + return error.SkipZigTest; + } var gpa = DebugAllocator(test_config){}; defer std.testing.expect(gpa.deinit() == .ok) catch @panic("leak"); -- 2.54.0