| ... | ... | @@ -13,6 +13,7 @@ pub const Entry = struct { |
| 13 | 13 | |
| 14 | 14 | const IteratorError = error{ |
| 15 | 15 | AccessDenied, |
| 16 | PermissionDenied, |
| 16 | 17 | SystemResources, |
| 17 | 18 | /// WASI-only. The path of an entry could not be encoded as valid UTF-8. |
| 18 | 19 | /// WASI is unable to handle paths that cannot be encoded as well-formed UTF-8. |
| ... | ... | @@ -287,7 +288,7 @@ pub const Iterator = switch (native_os) { |
| 287 | 288 | name, |
| 288 | 289 | false, |
| 289 | 290 | &stat_info, |
| 290 | | 0, |
| 291 | @sizeOf(posix.Stat), |
| 291 | 292 | )))) { |
| 292 | 293 | .SUCCESS => {}, |
| 293 | 294 | .INVAL => unreachable, |