revert IterableDir

see https://github.com/ziglang/zig/pull/18076
This commit is contained in:
Pierre Tachoire committed 2023-12-05 14:09:25 +01:00
1 parent d73a204d8b
commit 7e7e5518d8
1 file changed
+1 -1
+1 -1
View File
@@ -139,7 +139,7 @@ fn evalJS(env: jsruntime.Env, alloc: std.mem.Allocator, script: []const u8, name
// browse the path to find the tests list.
pub fn find(allocator: std.mem.Allocator, comptime path: []const u8, list: *std.ArrayList([]const u8)) !void {
var dir = try std.fs.cwd().openIterableDir(path, .{ .no_follow = true });
var dir = try std.fs.cwd().openDir(path, .{ .iterate = true, .no_follow = true });
defer dir.close();
var walker = try dir.walk(allocator);