1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-04-19 04:33:50 +02:00

Merge pull request #99 from idle-z/fix-build-2022-05-01

Fix build on latest nightly zig
This commit is contained in:
Dave Gauer 2022-05-14 09:29:01 -04:00 committed by GitHub
commit 1a89e4ebf1
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;