mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
diversify "unable to spawn" failure messages
to help understand where a spurious failure is occurring
This commit is contained in:
+1
-1
@@ -5244,7 +5244,7 @@ fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !void {
|
||||
std.debug.lockStdErr();
|
||||
defer std.debug.unlockStdErr();
|
||||
break :t child.spawnAndWait() catch |err| {
|
||||
fatal("unable to spawn {s}: {s}", .{ child_argv.items[0], @errorName(err) });
|
||||
fatal("failed to spawn build runner {s}: {s}", .{ child_argv.items[0], @errorName(err) });
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user