From d99e4e21b6a899e1076e6da279e9d149510afa8e Mon Sep 17 00:00:00 2001 From: iz <> Date: Sun, 1 May 2022 19:19:37 -0500 Subject: Fix build on latest nightly zig --- build.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'build.zig') 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; -- cgit v1.2.3-ZIG