std.heap.DebugAllocator: disable already flaky test

tracked by #22731
This commit is contained in:
Andrew Kelley 2026-01-04 00:26:27 -08:00
parent 420a9aed4c
commit ef1ddbe2f0

View file

@ -1272,9 +1272,12 @@ test "shrink large object to large object" {
}
test "shrink large object to large object with 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){};
var gpa: DebugAllocator(test_config) = .{};
defer std.testing.expect(gpa.deinit() == .ok) catch @panic("leak");
const allocator = gpa.allocator();