aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/exercises/060_floats.zig
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-05-03 15:25:55 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2023-05-03 18:13:55 +0200
commit771b499cbc2d3519a663dc194023dfbfbf2dda42 (patch)
tree6025946fecda18c962692d1c2ed9cbfa8ad975d1 /exercises/060_floats.zig
parentc6c6a32270d63a2efdedea02305bc284046a63af (diff)
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 'exercises/060_floats.zig')
0 files changed, 0 insertions, 0 deletions