diff options
-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; |