aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-05-26 16:20:07 -0400
committerGitHub <noreply@github.com>2024-05-26 16:20:07 -0400
commit591bbafee37126dab2e035be717bb928c5953155 (patch)
tree5e71e6f4aba07b1852c03c69f94f09d4a084f717 /lib/std/Build/Step.zig
parentb9b7f1852308cf41bef511b9ccb3e24e353bf109 (diff)
parentaa463adc91d4fb356595b8f7d0af3801c0623e1e (diff)
downloadzig-591bbafee37126dab2e035be717bb928c5953155.tar.gz
zig-591bbafee37126dab2e035be717bb928c5953155.zip
Merge pull request #20049 from ziglang/std.process.Child
std: restructure child process namespace
Diffstat (limited to 'lib/std/Build/Step.zig')
-rw-r--r--lib/std/Build/Step.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/Build/Step.zig b/lib/std/Build/Step.zig
index b6fcd4ac7a..01bea6c0ce 100644
--- a/lib/std/Build/Step.zig
+++ b/lib/std/Build/Step.zig
@@ -275,7 +275,7 @@ pub fn evalChildProcess(s: *Step, argv: []const []const u8) !void {
try handleChildProcUnsupported(s, null, argv);
try handleVerbose(s.owner, null, argv);
- const result = std.ChildProcess.run(.{
+ const result = std.process.Child.run(.{
.allocator = arena,
.argv = argv,
}) catch |err| return s.fail("unable to spawn {s}: {s}", .{ argv[0], @errorName(err) });
@@ -313,7 +313,7 @@ pub fn evalZigProcess(
try handleChildProcUnsupported(s, null, argv);
try handleVerbose(s.owner, null, argv);
- var child = std.ChildProcess.init(argv, arena);
+ var child = std.process.Child.init(argv, arena);
child.env_map = &b.graph.env_map;
child.stdin_behavior = .Pipe;
child.stdout_behavior = .Pipe;
@@ -480,7 +480,7 @@ pub inline fn handleChildProcUnsupported(
pub fn handleChildProcessTerm(
s: *Step,
- term: std.ChildProcess.Term,
+ term: std.process.Child.Term,
opt_cwd: ?[]const u8,
argv: []const []const u8,
) error{ MakeFailed, OutOfMemory }!void {