3 ms·
How do Zig programmers using Linux or MacOS validate that their OOM handling is correct?
by flurrything 8y ago
How do Zig programmers using Linux or MacOS validate that their OOM handling is correct?
- AnIdiotOnTheNet 8y agoThere's an allocator in the standard library that is specifically designed to fail. https://github.com/ziglang/zig/blob/master/std/debug/failing_allocator.zig https://github.com/ziglang/zig/blob/master/std/debug/failing...