Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__wasi_prestat_t documentation is missing #51

Closed
wanderer opened this issue May 31, 2019 · 1 comment
Closed

__wasi_prestat_t documentation is missing #51

wanderer opened this issue May 31, 2019 · 1 comment
Labels
wasi-filesystem Issues targeted for a `wasi_unstable_filesystem` module

Comments

@wanderer
Copy link

the description of __wasi_prestat_t from __wasi_fd_prestat_get seems to missing. Its defined here in wasmtime but I'm not sure why __wasi_preopentype_t pr_type; can't just be a __wasi_filetype_t

@sunfishcode sunfishcode added the wasi-filesystem Issues targeted for a `wasi_unstable_filesystem` module label Sep 8, 2019
@sunfishcode
Copy link
Member

This was fixed in c760e95.

pr_type isn't a __wasi_filetype_t because in the future we may have more kinds of preopen types, like preopened clocks or other things. We could stand to have more preopen types than we do now though.

alexcrichton pushed a commit to alexcrichton/WASI that referenced this issue Jan 19, 2022
…ebAssembly#51)

* Generate lifetime parameter explicitly for aliased PointerLengthPair

* Regenerate lib_generated.rs for explicit lifetime parameter in args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasi-filesystem Issues targeted for a `wasi_unstable_filesystem` module
Projects
None yet
Development

No branches or pull requests

2 participants