From 0ff83ba5178011f2321d066461989bc8816ffb90 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sun, 17 Jul 2022 09:20:07 -0700 Subject: [PATCH] gpu-dawn: update to Zig 0.10.0-dev.3027+0e26c6149 (iterate / OpenDirOptions stdlib change) This breaking change in the Zig stdlib is not available as a nightly build yet, so our CI will be broken for the next day or so until that becomes available and we can update it. Signed-off-by: Stephen Gutekanst --- gpu-dawn/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpu-dawn/build.zig b/gpu-dawn/build.zig index 449756bd..2eaf9c14 100644 --- a/gpu-dawn/build.zig +++ b/gpu-dawn/build.zig @@ -1456,7 +1456,7 @@ fn scanSources( excluding_contains: []const []const u8, ) !void { const abs_dir = try std.mem.concat(b.allocator, u8, &.{ (comptime thisDir()), "/", rel_dir }); - var dir = try std.fs.openDirAbsolute(abs_dir, .{ .iterate = true }); + var dir = try std.fs.openIterableDirAbsolute(abs_dir, .{}); defer dir.close(); var dir_it = dir.iterate(); while (try dir_it.next()) |entry| {