aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-05-23 11:25:41 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-05-26 09:31:55 -0700
commitf47824f24d1b20c276a797df8cf99066c08203b6 (patch)
treed988ba1a65733978fd93b85009d2088dc9a3076e /src/Compilation.zig
parent793f820b393e0a79842b99afb008d13eb1343ed8 (diff)
downloadzig-f47824f24d1b20c276a797df8cf99066c08203b6.tar.gz
zig-f47824f24d1b20c276a797df8cf99066c08203b6.zip
std: restructure child process namespace
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 37df4cc838..921d534baf 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -1935,7 +1935,7 @@ pub fn getTarget(self: Compilation) Target {
pub fn hotCodeSwap(
comp: *Compilation,
prog_node: *std.Progress.Node,
- pid: std.ChildProcess.Id,
+ pid: std.process.Child.Id,
) !void {
const lf = comp.bin_file.?;
lf.child_pid = pid;
@@ -4614,7 +4614,7 @@ fn updateCObject(comp: *Compilation, c_object: *CObject, c_obj_prog_node: *std.P
log.warn("failed to delete '{s}': {s}", .{ dep_file_path, @errorName(err) });
};
if (std.process.can_spawn) {
- var child = std.ChildProcess.init(argv.items, arena);
+ var child = std.process.Child.init(argv.items, arena);
if (comp.clang_passthrough_mode) {
child.stdin_behavior = .Inherit;
child.stdout_behavior = .Inherit;
@@ -4972,7 +4972,7 @@ fn spawnZigRc(
var node_name: std.ArrayListUnmanaged(u8) = .{};
defer node_name.deinit(arena);
- var child = std.ChildProcess.init(argv, arena);
+ var child = std.process.Child.init(argv, arena);
child.stdin_behavior = .Ignore;
child.stdout_behavior = .Pipe;
child.stderr_behavior = .Pipe;