aboutsummaryrefslogtreecommitdiff
path: root/src/ipc.zig
diff options
context:
space:
mode:
authorManlio Perillo <[email protected]>2023-05-20 07:21:11 +0200
committerManlio Perillo <[email protected]>2023-05-20 07:25:53 +0200
commit3e38a4fc844e572ee0a8b5cb61558763de0f2157 (patch)
tree5c79c604b43f765ba3aa85ceafdeac1675df17d2 /src/ipc.zig
parentd0de9e534898451016e8f72328e70d76452c7c15 (diff)
downloadziglings-3e38a4fc844e572ee0a8b5cb61558763de0f2157.tar.xz
ziglings-3e38a4fc844e572ee0a8b5cb61558763de0f2157.zip
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 'src/ipc.zig')
0 files changed, 0 insertions, 0 deletions