diff --git a/build.zig b/build.zig index 9c7c12aed..ab1108a30 100644 --- a/build.zig +++ b/build.zig @@ -875,7 +875,7 @@ fn benchSteps( ) !void { // Open the directory ./src/bench const c_dir_path = (comptime root()) ++ "/src/bench"; - var c_dir = try fs.openIterableDirAbsolute(c_dir_path, .{}); + var c_dir = try fs.openDirAbsolute(c_dir_path, .{ .iterate = true }); defer c_dir.close(); // Go through and add each as a step @@ -918,7 +918,7 @@ fn conformanceSteps( // Open the directory ./conformance const c_dir_path = (comptime root()) ++ "/conformance"; - var c_dir = try fs.openIterableDirAbsolute(c_dir_path, .{}); + var c_dir = try fs.openDirAbsolute(c_dir_path, .{ .iterate = true }); defer c_dir.close(); // Go through and add each as a step diff --git a/src/pty.zig b/src/pty.zig index a482dc42b..f31d5f97d 100644 --- a/src/pty.zig +++ b/src/pty.zig @@ -132,7 +132,7 @@ const WindowsPty = struct { pub const Fd = windows.HANDLE; // Process-wide counter for pipe names - var pipe_name_counter = std.atomic.Atomic(u32).init(1); + var pipe_name_counter = std.atomic.Value(u32).init(1); out_pipe: windows.HANDLE, in_pipe: windows.HANDLE,