diff options
author | iz <> | 2022-05-01 19:19:37 -0500 |
---|---|---|
committer | iz <> | 2022-05-01 19:19:37 -0500 |
commit | d99e4e21b6a899e1076e6da279e9d149510afa8e (patch) | |
tree | b9e3c32f2e48db28fb72d15c5a19f5d7c38087e8 | |
parent | f72c2aa5341ccbe259f7ac655953386e9441d9ee (diff) | |
download | ziglings-d99e4e21b6a899e1076e6da279e9d149510afa8e.tar.gz ziglings-d99e4e21b6a899e1076e6da279e9d149510afa8e.tar.bz2 ziglings-d99e4e21b6a899e1076e6da279e9d149510afa8e.tar.xz ziglings-d99e4e21b6a899e1076e6da279e9d149510afa8e.zip |
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; |