aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/exercises/085_async2.zig
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-05-20 07:21:11 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2023-05-20 07:25:53 +0200
commit3e38a4fc844e572ee0a8b5cb61558763de0f2157 (patch)
tree5c79c604b43f765ba3aa85ceafdeac1675df17d2 /exercises/085_async2.zig
parentd0de9e534898451016e8f72328e70d76452c7c15 (diff)
build: in `ZiglingStep.check_output` panic in case of OOM
This is necessary since, when trimLines returns `std.mem.Allocator.Error`, no error message will be displayed to the user. An alternative is to use `std.Build.Step.fail`, but using @panic("OOM") is simpler and consistent with existing code.
Diffstat (limited to 'exercises/085_async2.zig')
0 files changed, 0 insertions, 0 deletions