diff options
| author | Manlio Perillo <[email protected]> | 2023-05-20 07:21:11 +0200 |
|---|---|---|
| committer | Manlio Perillo <[email protected]> | 2023-05-20 07:25:53 +0200 |
| commit | 3e38a4fc844e572ee0a8b5cb61558763de0f2157 (patch) | |
| tree | 5c79c604b43f765ba3aa85ceafdeac1675df17d2 /src/ipc.zig | |
| parent | d0de9e534898451016e8f72328e70d76452c7c15 (diff) | |
| download | ziglings-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
