-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Revamp component model stream/future host API (again) #11515
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
Merged
alexcrichton
merged 33 commits into
bytecodealliance:main
from
dicej:stream-future-api-revamp
Sep 4, 2025
+3,691
−2,614
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
548e398
Revamp component model stream/future host API (again)
dicej a734339
Add `Accessor::getter`, rename `with_data` to `with_getter`
alexcrichton c3204ca
fixup bindgen invocation
rvolosatovs 61c5a24
add support for zero-length writes/reads to/from host
dicej 056f064
add `{Destination,Source}::remaining` methods
dicej ddb3036
wasi: migrate sockets to new API
rvolosatovs cae75ff
tests: read the socket stream until EOF
rvolosatovs 99397e7
p3-sockets: account for cancellation
rvolosatovs 7a0b96f
p3-sockets: mostly ensure byte buffer cancellation-safety
rvolosatovs efdf6d3
p3-filesystem: switch to new API
rvolosatovs 014adb1
fixup! p3-sockets: mostly ensure byte buffer cancellation-safety
rvolosatovs 368a1e4
p3-cli: switch to new API
rvolosatovs 58ef641
p3: limit maximum buffer size
rvolosatovs ec41ec5
p3-sockets: remove reuseaddr test loop workaround
rvolosatovs 2b6f216
p3: drive I/O in `when_ready`
rvolosatovs f7ff957
fixup! p3: drive I/O in `when_ready`
rvolosatovs 879be7d
Refine `Stream{Producer,Consumer}` APIs
dicej 2461caf
Merge remote-tracking branch 'origin/main' into stream-future-api-revamp
dicej ca8a435
being integration of new API
rvolosatovs 00047c3
update wasi/src/p3/filesystem to use new stream API
dicej 0f9f372
update wasi/src/p3/cli to use new stream API
dicej 7d6edb1
fix: remove `'a` bound on `&self`
rvolosatovs fce49cb
finish `wasi:sockets` adaptation
rvolosatovs cdd1ce5
finish `wasi:cli` adaptation
rvolosatovs 2554c17
remove redundant loop in sockets
rvolosatovs 9784254
wasi: buffer on 0-length reads
rvolosatovs 55ad074
finish `wasi:filesystem` adaptation
rvolosatovs 4bc782d
remove `MAX_BUFFER_CAPACITY`
rvolosatovs 1197b64
refactor `Cursor` usage
rvolosatovs 4e99221
impl Default for VecBuffer
rvolosatovs afac783
refactor: use consistent import styling
rvolosatovs f0dfa55
feature-gate fs Arc accessors
rvolosatovs 7db82ff
Update test expectations
alexcrichton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.