From 2c59f95e87979163e746cee2783d58d2f54e7da6 Mon Sep 17 00:00:00 2001 From: LeRoyce Pearson Date: Thu, 30 Apr 2020 17:11:45 -0600 Subject: [PATCH] Don't use `iterate` when opening manifest directory --- lib/std/cache_hash.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/cache_hash.zig b/lib/std/cache_hash.zig index 6624ff724a..39a7f65350 100644 --- a/lib/std/cache_hash.zig +++ b/lib/std/cache_hash.zig @@ -44,7 +44,7 @@ pub const CacheHash = struct { pub fn init(alloc: *Allocator, manifest_dir_path: []const u8) !@This() { try fs.cwd().makePath(manifest_dir_path); - const manifest_dir = try fs.cwd().openDir(manifest_dir_path, .{ .iterate = true }); + const manifest_dir = try fs.cwd().openDir(manifest_dir_path, .{}); return CacheHash{ .alloc = alloc,