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 <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-17 09:20:07 -07:00
parent bbb276854b
commit 0ff83ba517

View file

@ -1456,7 +1456,7 @@ fn scanSources(
excluding_contains: []const []const u8, excluding_contains: []const []const u8,
) !void { ) !void {
const abs_dir = try std.mem.concat(b.allocator, u8, &.{ (comptime thisDir()), "/", rel_dir }); 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(); defer dir.close();
var dir_it = dir.iterate(); var dir_it = dir.iterate();
while (try dir_it.next()) |entry| { while (try dir_it.next()) |entry| {