aboutsummaryrefslogtreecommitdiff
path: root/lib/std/child_process.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-09-03 23:52:19 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-09-03 23:52:19 -0700
commit338f155a02b72117ff710f72c8578e7d2f8eb296 (patch)
treea902526d5dc901de7458ef318f52f5ac0dad77e7 /lib/std/child_process.zig
parentc354f074fa91d3d1672469ba4bbc49a1730e1d01 (diff)
parent88724b2a89157ecc3a8eea03aa0f8a6b66829915 (diff)
downloadzig-338f155a02b72117ff710f72c8578e7d2f8eb296.tar.gz
zig-338f155a02b72117ff710f72c8578e7d2f8eb296.zip
Merge remote-tracking branch 'origin/master' into llvm11
Diffstat (limited to 'lib/std/child_process.zig')
-rw-r--r--lib/std/child_process.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig
index 287fc3e7cd..c64fefbc63 100644
--- a/lib/std/child_process.zig
+++ b/lib/std/child_process.zig
@@ -44,10 +44,10 @@ pub const ChildProcess = struct {
stderr_behavior: StdIo,
/// Set to change the user id when spawning the child process.
- uid: if (builtin.os.tag == .windows) void else ?u32,
+ uid: if (builtin.os.tag == .windows or builtin.os.tag == .wasi) void else ?os.uid_t,
/// Set to change the group id when spawning the child process.
- gid: if (builtin.os.tag == .windows) void else ?u32,
+ gid: if (builtin.os.tag == .windows or builtin.os.tag == .wasi) void else ?os.gid_t,
/// Set to change the current working directory when spawning the child process.
cwd: ?[]const u8,