Skip to content

Update the ABI of async imports/exports #2198

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
merged 2 commits into from
May 27, 2025

Conversation

alexcrichton
Copy link
Member

This commit updates wasm-tools with the changes from WebAssembly/component-model#520 which updates the ABI of async imports and exports. The changes here are:

  • Flat function parameters are now allowed.
  • If there are no function parameters then the parameters are entirely omitted.
  • The result out-ptr is now omitted if there are no function results.

This commit updates wasm-tools with the changes from
WebAssembly/component-model#520 which updates the ABI of async imports
and exports. The changes here are:

* Flat function parameters are now allowed.
* If there are no function parameters then the parameters are entirely
  omitted.
* The result out-ptr is now omitted if there are no function results.
@alexcrichton alexcrichton requested a review from dicej May 21, 2025 14:46
@alexcrichton
Copy link
Member Author

This is going to require a lot of adjustments in downstream tools, so I'm going to work my way through those first before landing this.

@alexcrichton alexcrichton added this pull request to the merge queue May 27, 2025
Merged via the queue into bytecodealliance:main with commit 14d084c May 27, 2025
32 checks passed
@alexcrichton alexcrichton deleted the new-async-abi branch May 27, 2025 16:42
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