authorgravatar for emekankurumeh@outlook.comemekoi <emekankurumeh@outlook.com> 2019-07-03 13:17:43-05:00
committergravatar for emekankurumeh@outlook.comemekoi <emekankurumeh@outlook.com> 2019-07-03 23:48:42-05:00
log9e3189f1f460cd141e849ff5f868bdc6d5268e4e
tree0df52750c71cc02a12a5caa05a81cea71b8e2a56
parentd8135c9e6e49088c2f3019b7b52e2f9386d90da8

forward error code on non-exits


1 files changed, 2 insertions(+), 2 deletions(-)

std/build.zig+2-2
......@@ -773,10 +773,10 @@ pub const Builder = struct {
773773 }
774774 return stdout.toOwnedSlice();
775775 },
776 else => {
776 .Signal, .Stopped, .Unknown => |code| {
777777 warn("The following command terminated unexpectedly:\n");
778778 printCmd(null, argv);
779 std.debug.panic("exec failed");
779 std.os.exit(@truncate(u8, code));
780780 },
781781 }
782782