-
Notifications
You must be signed in to change notification settings - Fork 1.5k
implement Component Model async ABI #11127
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 26 commits into
bytecodealliance:main
from
dicej:cm-async-implementation
Jul 11, 2025
Merged
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e5d5e88
implement Component Model async ABI
dicej ddb77c0
clear params pointer in `call_async` when future is dropped
dicej 74df3f3
Remove unsafety from accessing concurrent async state
alexcrichton a3480f4
Remove a dead variant when async is disabled
alexcrichton e6c660b
Add tests for `tls.rs` unsafe code
alexcrichton 33f6c73
Refactor `AbortHandle`
alexcrichton c135259
Internalize some functions/types
alexcrichton 4d6a63c
add FIXME comment to `states.rs`
dicej 82647cf
reference issue 11190 in `table.rs` TODO
dicej 496035b
switch `use` directives to conventional syntax
dicej f9c4f63
remove redundant accessor methods
dicej 6da1914
reference issue 11191 in `yield` TODO comments
dicej 25edf02
replace `dummy_waker` with `Waker::noop`
dicej c2fe750
remove obsolete `AsyncState::spawned_tasks` field
dicej 1bc010d
only call post-return automatically for `call_concurrent`
dicej 87bd321
Merge remote-tracking branch 'origin/main' into cm-async-implementation
alexcrichton 757df9e
Favor function arguments before closures
alexcrichton 2e60e92
Simplify `watch` a bit
alexcrichton b0739d0
fix task handle leaks and add test coverage
dicej 7eeee3a
Encapsulate type erasure in stream buffers
alexcrichton 6c4f74f
Remove some methods ending in underscores
alexcrichton b5864e5
Refactor unsafety in `buffers.rs`
alexcrichton 27b4158
remove task on drop in `TypedFunc::call_async`
dicej 30272e3
remove obsolete clause from `FutureReader::read` docs
dicej cde24cb
unhide and expand docs for `WriteBuffer` and `ReadBuffer`
dicej 471d3c9
add optional `component-model-async-bytes` feature
dicej 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.