authorgravatar for alex_naskos@hotmail.comAlexandros Naskos <alex_naskos@hotmail.com> 2020-10-04 19:22:34+03:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-10-04 21:21:25-04:00
log65991092f7d7460390529a012cb7e7893799fc34
tree8f9ba734750e13a8d7ccdf7e272f1edd35b7a393
parent1d777e99588be047ec4d7650f048b043d6e52da0

Correctly set uid and gid to void instead of null on wasi


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/child_process.zig+2-2
...@@ -105,8 +105,8 @@ pub const ChildProcess = struct {...@@ -105,8 +105,8 @@ pub const ChildProcess = struct {
105 .term = null,105 .term = null,
106 .env_map = null,106 .env_map = null,
107 .cwd = null,107 .cwd = null,
108 .uid = if (builtin.os.tag == .windows) {} else null,108 .uid = if (builtin.os.tag == .windows or builtin.os.tag == .wasi) {} else null,
109 .gid = if (builtin.os.tag == .windows) {} else null,109 .gid = if (builtin.os.tag == .windows or builtin.os.tag == .wasi) {} else null,
110 .stdin = null,110 .stdin = null,
111 .stdout = null,111 .stdout = null,
112 .stderr = null,112 .stderr = null,