mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 23:10:09 +00:00
forward error code build.zig
This commit is contained in:
parent
b109155528
commit
d8135c9e6e
@ -769,7 +769,7 @@ pub const Builder = struct {
|
||||
if (code != 0) {
|
||||
warn("The following command exited with error code {}:\n", code);
|
||||
printCmd(null, argv);
|
||||
std.debug.panic("exec failed");
|
||||
std.os.exit(@truncate(u8, code));
|
||||
}
|
||||
return stdout.toOwnedSlice();
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user