Skip to content

Commit

Permalink
builder: propagate env_map for child processes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikdusan authored and dgbuckley committed Mar 9, 2021
1 parent b8b23d3 commit 744d7b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/std/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,7 @@ pub const Builder = struct {
child.stdin_behavior = .Ignore;
child.stdout_behavior = .Pipe;
child.stderr_behavior = stderr_behavior;
child.env_map = self.env_map;

try child.spawn();

Expand Down

0 comments on commit 744d7b9

Please sign in to comment.