WebAssembly / WebAssembly/WASI
Confusion about WASI's function types.
Open
Nobody has claimed this yet.
S-inactive
- Dominant language
- Rust
- Stars
- 5.8k
- Forks
- 333
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 3
Description
Why are the function types in the wasi API documentation different from the ones I actually compiled in wasm?

The fd_write function in the above document takes two parameters, but the following figure actually takes four.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the WASI API documentation for fd_write with the compiled wasm signature shown in the issue. Determine whether the difference needs an explanation or a documentation correction; done means the documented function types and their relationship to the compiled signature are clear and consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100