aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2022-05-14 09:29:01 -0400
committerGitHub <noreply@github.com>2022-05-14 09:29:01 -0400
commit1a89e4ebf13756541916cf5ed47866a3dd7e74df (patch)
treeb9e3c32f2e48db28fb72d15c5a19f5d7c38087e8 /build.zig
parentf72c2aa5341ccbe259f7ac655953386e9441d9ee (diff)
parentd99e4e21b6a899e1076e6da279e9d149510afa8e (diff)
downloadziglings-1a89e4ebf13756541916cf5ed47866a3dd7e74df.tar.gz
ziglings-1a89e4ebf13756541916cf5ed47866a3dd7e74df.tar.bz2
ziglings-1a89e4ebf13756541916cf5ed47866a3dd7e74df.tar.xz
ziglings-1a89e4ebf13756541916cf5ed47866a3dd7e74df.zip
Merge pull request #99 from idle-z/fix-build-2022-05-01
Fix build on latest nightly zig
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;