0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/testing.zig
Alexander Mitterholzer f2084ab74a std.testing: refuse resizes in checkAllAllocationFailures (#37142)
Fixes #37141

With resizes refused every growth goes through alloc, which is what the check counts, so the count no longer depends on the backing allocator.

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/37142
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
2026-10-09 21:55:17 +02:00

1457 lines
54 KiB