aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriz <>2022-05-01 19:19:37 -0500
committeriz <>2022-05-01 19:19:37 -0500
commitd99e4e21b6a899e1076e6da279e9d149510afa8e (patch)
treeb9e3c32f2e48db28fb72d15c5a19f5d7c38087e8
parentf72c2aa5341ccbe259f7ac655953386e9441d9ee (diff)
downloadziglings-d99e4e21b6a899e1076e6da279e9d149510afa8e.tar.gz
ziglings-d99e4e21b6a899e1076e6da279e9d149510afa8e.tar.bz2
ziglings-d99e4e21b6a899e1076e6da279e9d149510afa8e.tar.xz
ziglings-d99e4e21b6a899e1076e6da279e9d149510afa8e.zip
Fix build on latest nightly 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;