diversify "unable to spawn" failure messages

to help understand where a spurious failure is occurring
This commit is contained in:
Andrew Kelley
2024-11-26 13:56:12 -08:00
parent 68b3f50866
commit 11bf2d92de
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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) });
};
};