diff options
| author | iddev5 <ayushbardhan5@gmail.com> | 2022-03-18 13:10:41 +0530 |
|---|---|---|
| committer | iddev5 <ayushbardhan5@gmail.com> | 2022-03-27 18:19:55 +0530 |
| commit | df544cace97b57b318dba439d4e67a3953388477 (patch) | |
| tree | 96f3830cd7172d76e0a40c5e6f0b7b210fc7c87c /lib/std/testing.zig | |
| parent | d15bbebe2e6b8fcbfcd730a6c0d1be621b27045d (diff) | |
| download | zig-df544cace97b57b318dba439d4e67a3953388477.tar.gz zig-df544cace97b57b318dba439d4e67a3953388477.zip | |
std: explicitly handle error.UnexpectedExitCode in build_runner
RunStep on unexpected exit code used to return error.UncleanExit, which
was confusing and unclear. When it was changed, the error handling code
in build_runner was not modified, which produced an error trace.
This commit explicitly handles error.UnexpectedExitCode in build_runner
so that the behavior now matches that of zig 0.8.1 after which it was
regressed.
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions
