aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorJonathan Lopez <54177704+otherJL0@users.noreply.github.com>2022-05-20 16:07:17 -0400
committerGitHub <noreply@github.com>2022-05-20 16:07:17 -0400
commitcf0fa9b9a0bdca658cc15624903fae884cefe947 (patch)
tree872a8ecdfc6c17b2f95f369e016b2699d46d700a /build.zig
parent57a38303acce2221548ce44fb47a0b64b90c4625 (diff)
parent1a89e4ebf13756541916cf5ed47866a3dd7e74df (diff)
downloadziglings-cf0fa9b9a0bdca658cc15624903fae884cefe947.tar.gz
ziglings-cf0fa9b9a0bdca658cc15624903fae884cefe947.tar.bz2
ziglings-cf0fa9b9a0bdca658cc15624903fae884cefe947.tar.xz
ziglings-cf0fa9b9a0bdca658cc15624903fae884cefe947.zip
Merge branch 'main' into 047_methods
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 8471ca7..d4fdb8e 100644
--- a/build.zig
+++ b/build.zig
@@ -624,8 +624,7 @@ const ZiglingStep = struct {
const argv = [_][]const u8{exe_file};
- const child = std.ChildProcess.init(&argv, self.builder.allocator) catch unreachable;
- defer child.deinit();
+ var child = std.ChildProcess.init(&argv, self.builder.allocator);
child.cwd = cwd;
child.env_map = self.builder.env_map;