wasip3: Fill out more missing filesystem functionality#758
Merged
alexcrichton merged 13 commits intoWebAssembly:mainfrom Mar 3, 2026
Merged
wasip3: Fill out more missing filesystem functionality#758alexcrichton merged 13 commits intoWebAssembly:mainfrom
alexcrichton merged 13 commits intoWebAssembly:mainfrom
Conversation
Gets a few more tests passing
Handle `O_APPEND` by calling `append-via-stream`
Use the same WASIp2 implementation for WASIp3
Use the wasip2 implementation
Use the wasip2 implementation
Use the wasip2 implementation
Use the wasip2 implementation
Use the wasip2 implementation
Use the wasip2 implementation
Use the wasip2 version
Use the wasip2 implementation
Use the wasip2 implementations
Don't re-read a stream once its termination has been received.
dicej
approved these changes
Mar 3, 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 is a further extension of #757 to implement much more functionality in wasi-libc related to filesystems for the
wasm32-wasip3target. This largely reuses thewasm32-wasip2implementations of things by generated bindings in non-async mode. The end result of this is a whole slew of tests are now passing on the p3 target.