-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wasi: adds platform.Dirent in preparation of inode fetching (#1154)
wasi_snapshot_preview1 recently requires fd_readdir to return actual inode values. On zero, wasi-libc will call fdstat to retrieve them. This introduces our own `platform.Dirent` type and `Readdir` function which a later change will allow fetching of inodes. See WebAssembly/wasi-libc#345 Signed-off-by: Adrian Cole <adrian@tetrate.io>
- Loading branch information
1 parent
3a06ae3
commit bb002c8
Showing
7 changed files
with
270 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.