authorgravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2021-01-07 09:16:27-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-01-07 23:48:24-08:00
log8e9a1ac364360b160438af0b96132d5aacf39a71
tree5e0ad9dfd220481873976d8a898a7c60275a2705
parent70771283c53918bff8064c3d35beab4cc4095db5

builder: propagate env_map for child processes


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

lib/std/build.zig+1
...@@ -1038,6 +1038,7 @@ pub const Builder = struct {...@@ -1038,6 +1038,7 @@ pub const Builder = struct {
1038 child.stdin_behavior = .Ignore;1038 child.stdin_behavior = .Ignore;
1039 child.stdout_behavior = .Pipe;1039 child.stdout_behavior = .Pipe;
1040 child.stderr_behavior = stderr_behavior;1040 child.stderr_behavior = stderr_behavior;
1041 child.env_map = self.env_map;
10411042
1042 try child.spawn();1043 try child.spawn();
10431044