Skip to content

wasm: Add WASI program arguments and IO functions - #26294

Merged
spytheman merged 1 commit into
vlang:masterfrom
SheatNoisette:wasm_basic_wasi_fnc
Jan 9, 2026
Merged

spytheman merged 1 commit into
vlang:masterfrom
SheatNoisette:wasm_basic_wasi_fnc

Conversation

@SheatNoisette

Copy link
Copy Markdown
Contributor

Fix cast handling for the support of the following WASI function:

  • args_sizes_get
  • args_get
  • fd_read
  • fd_sync
  • random_get

This should enable support of basic CLI apps using WASM. Iovec was turned public to be used anywhere else if somebody would want low level access to the WASI apis.

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @SheatNoisette πŸ™‡πŸ» .

@spytheman
spytheman merged commit 0e098a9 into vlang:master Jan 9, 2026
84 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants