summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorJacob Dennis <[email protected]>2022-08-08 16:36:22 +0100
committerGitHub <[email protected]>2022-08-08 17:36:22 +0200
commit621d6ae856c380fb32c4988eec47d9ce841f270d (patch)
tree9f0c2b3888bf12d290d1ed6ba67a53ff5b173e3b /examples
parent8127044748232e8b8e2634619b5299a316d08aa5 (diff)
downloadraylib-621d6ae856c380fb32c4988eec47d9ce841f270d.tar.gz
raylib-621d6ae856c380fb32c4988eec47d9ce841f270d.zip
Updated to work with zig master branch (#2620)
Specifically, std.fs.OpenDirOptions struct no longer has the iterable flag, now it's a standalone function call std.fs.openIterableDir
Diffstat (limited to 'examples')
-rw-r--r--examples/build.zig5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/build.zig b/examples/build.zig
index 5be56eda..3e6d68ad 100644
--- a/examples/build.zig
+++ b/examples/build.zig
@@ -7,10 +7,7 @@ fn add_module(comptime module: []const u8, b: *std.build.Builder, target: std.zi
const mode = b.standardReleaseOptions();
const all = b.step(module, "All " ++ module ++ " examples");
- const dir = try std.fs.cwd().openDir(
- module,
- .{ .iterate = true },
- );
+ const dir = try std.fs.cwd().openIterableDir(module, .{});
var iter = dir.iterate();
while (try iter.next()) |entry| {
if (entry.kind != .File) continue;