Update wasip3 WITs to 0.3.0-rc-2026-03-15#774
Merged
alexcrichton merged 5 commits intoWebAssembly:mainfrom Mar 18, 2026
Merged
Conversation
* Handle optional string payloads throughout error codes by deallocating the string when it's mapped to a wasi-libc error. This involved changing a lot of functions that took a bare error code to instead take a pointer-to-an-error-code to ensure the original storage is updated to not have a string and reflects the original source of truth. * Functions to write a stream of bytes to an object, e.g. writing bytes to a file, have been updated for a new idiom where `async func`-style functions are replaced with sync-function-returns-`future` in a few places.
Needed for this new wasip3 snapshot
dicej
approved these changes
Mar 18, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This requires a number of changes throughout the code and additionally requires an updated version of Wasmtime. For now this PR uses the
devrelease but that'll get published as Wasmtime 43.0.0 in a few days.