| ... | ... | @@ -301,7 +301,7 @@ pub const IterableDir = struct { |
| 301 | 301 | .macos, .ios, .freebsd, .netbsd, .dragonfly, .openbsd, .solaris => struct { |
| 302 | 302 | dir: Dir, |
| 303 | 303 | seek: i64, |
| 304 | | buf: [8192]u8, // TODO align(@alignOf(os.system.dirent)), |
| 304 | buf: [1024]u8, // TODO align(@alignOf(os.system.dirent)), |
| 305 | 305 | index: usize, |
| 306 | 306 | end_index: usize, |
| 307 | 307 | first_iter: bool, |
| ... | ... | @@ -499,7 +499,7 @@ pub const IterableDir = struct { |
| 499 | 499 | }, |
| 500 | 500 | .haiku => struct { |
| 501 | 501 | dir: Dir, |
| 502 | | buf: [8192]u8, // TODO align(@alignOf(os.dirent64)), |
| 502 | buf: [1024]u8, // TODO align(@alignOf(os.dirent64)), |
| 503 | 503 | index: usize, |
| 504 | 504 | end_index: usize, |
| 505 | 505 | first_iter: bool, |
| ... | ... | @@ -594,7 +594,7 @@ pub const IterableDir = struct { |
| 594 | 594 | dir: Dir, |
| 595 | 595 | // The if guard is solely there to prevent compile errors from missing `linux.dirent64` |
| 596 | 596 | // definition when compiling for other OSes. It doesn't do anything when compiling for Linux. |
| 597 | | buf: [8192]u8 align(if (builtin.os.tag != .linux) 1 else @alignOf(linux.dirent64)), |
| 597 | buf: [1024]u8 align(if (builtin.os.tag != .linux) 1 else @alignOf(linux.dirent64)), |
| 598 | 598 | index: usize, |
| 599 | 599 | end_index: usize, |
| 600 | 600 | first_iter: bool, |
| ... | ... | @@ -676,7 +676,7 @@ pub const IterableDir = struct { |
| 676 | 676 | }, |
| 677 | 677 | .windows => struct { |
| 678 | 678 | dir: Dir, |
| 679 | | buf: [8192]u8 align(@alignOf(os.windows.FILE_BOTH_DIR_INFORMATION)), |
| 679 | buf: [1024]u8 align(@alignOf(os.windows.FILE_BOTH_DIR_INFORMATION)), |
| 680 | 680 | index: usize, |
| 681 | 681 | end_index: usize, |
| 682 | 682 | first_iter: bool, |
| ... | ... | @@ -754,7 +754,7 @@ pub const IterableDir = struct { |
| 754 | 754 | }, |
| 755 | 755 | .wasi => struct { |
| 756 | 756 | dir: Dir, |
| 757 | | buf: [8192]u8, // TODO align(@alignOf(os.wasi.dirent_t)), |
| 757 | buf: [1024]u8, // TODO align(@alignOf(os.wasi.dirent_t)), |
| 758 | 758 | cookie: u64, |
| 759 | 759 | index: usize, |
| 760 | 760 | end_index: usize, |