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