authorgravatar for leroycepearson@geemili.xyzLeRoyce Pearson <leroycepearson@geemili.xyz> 2020-04-30 17:11:45-06:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-05-25 13:48:43-04:00
log2c59f95e87979163e746cee2783d58d2f54e7da6
tree6262a681273997f8ad75653c9d1e50c13f0a1ef5
parent1ffff1bb181da785b63bb3ed6accf23874cb07f3

Don't use `iterate` when opening manifest directory


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/cache_hash.zig+1-1
...@@ -44,7 +44,7 @@ pub const CacheHash = struct {...@@ -44,7 +44,7 @@ pub const CacheHash = struct {
4444
45 pub fn init(alloc: *Allocator, manifest_dir_path: []const u8) !@This() {45 pub fn init(alloc: *Allocator, manifest_dir_path: []const u8) !@This() {
46 try fs.cwd().makePath(manifest_dir_path);46 try fs.cwd().makePath(manifest_dir_path);
47 const manifest_dir = try fs.cwd().openDir(manifest_dir_path, .{ .iterate = true });47 const manifest_dir = try fs.cwd().openDir(manifest_dir_path, .{});
4848
49 return CacheHash{49 return CacheHash{
50 .alloc = alloc,50 .alloc = alloc,