Commit 2c59f95e87

LeRoyce Pearson <leroycepearson@geemili.xyz>
2020-05-01 01:11:45
Don't use `iterate` when opening manifest directory
1 parent 1ffff1b
Changed files (1)
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,