diff options
author | Dave Gauer <ratfactor@gmail.com> | 2022-05-14 09:29:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-14 09:29:01 -0400 |
commit | 1a89e4ebf13756541916cf5ed47866a3dd7e74df (patch) | |
tree | b9e3c32f2e48db28fb72d15c5a19f5d7c38087e8 | |
parent | f72c2aa5341ccbe259f7ac655953386e9441d9ee (diff) | |
parent | d99e4e21b6a899e1076e6da279e9d149510afa8e (diff) | |
download | ziglings-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
-rw-r--r-- | build.zig | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |