diff options
| author | Manlio Perillo <[email protected]> | 2023-05-03 15:25:55 +0200 |
|---|---|---|
| committer | Manlio Perillo <[email protected]> | 2023-05-03 18:13:55 +0200 |
| commit | 771b499cbc2d3519a663dc194023dfbfbf2dda42 (patch) | |
| tree | 6025946fecda18c962692d1c2ed9cbfa8ad975d1 /test | |
| parent | c6c6a32270d63a2efdedea02305bc284046a63af (diff) | |
| download | ziglings-771b499cbc2d3519a663dc194023dfbfbf2dda42.tar.xz ziglings-771b499cbc2d3519a663dc194023dfbfbf2dda42.zip | |
build: use @panic("OOM") instead of unreachable
The code in ZiglingStep copied the error handling used in std.Build in
the past.
Use @panic("OOM") when the error is caused by the allocator failing to
allocate memory.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
