mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.Build.Step: don't create an empty progress node
This commit is contained in:
parent
795c5791a9
commit
a486392ee4
1 changed files with 1 additions and 4 deletions
|
|
@ -313,16 +313,13 @@ pub fn evalZigProcess(
|
|||
try handleChildProcUnsupported(s, null, argv);
|
||||
try handleVerbose(s.owner, null, argv);
|
||||
|
||||
const sub_prog_node = prog_node.start("", 0);
|
||||
defer sub_prog_node.end();
|
||||
|
||||
var child = std.process.Child.init(argv, arena);
|
||||
child.env_map = &b.graph.env_map;
|
||||
child.stdin_behavior = .Pipe;
|
||||
child.stdout_behavior = .Pipe;
|
||||
child.stderr_behavior = .Pipe;
|
||||
child.request_resource_usage_statistics = true;
|
||||
child.progress_node = sub_prog_node;
|
||||
child.progress_node = prog_node;
|
||||
|
||||
child.spawn() catch |err| return s.fail("unable to spawn {s}: {s}", .{
|
||||
argv[0], @errorName(err),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue