| author | |
| committer | |
| log | 90a54f06e507e11ccf07c1378fe4a12b002ec2bd |
| tree | e9ae9dca3d88062847e9679b7d1b045961f03931 |
| parent | 9e67c062c40292f02334111a4784bd60907b5d0e |
1 files changed, 2 insertions(+), 0 deletions(-)
lib/std/fs.zig+2| ... | ... | @@ -501,6 +501,8 @@ pub const Dir = struct { |
| 501 | 501 | }, |
| 502 | 502 | .linux => struct { |
| 503 | 503 | dir: Dir, |
| 504 | // The if guard is solely there to prevent compile errors from missing `os.linux.dirent64` | |
| 505 | // definition when compiling for other OSes. It doesn't do anything when compiling for Linux. | |
| 504 | 506 | buf: [8192]u8 align(if (builtin.os.tag != .linux) 1 else @alignOf(os.linux.dirent64)), |
| 505 | 507 | index: usize, |
| 506 | 508 | end_index: usize, |