Skip to content
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

Update wasm-tools and wit-bindgen crates #8965

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

alexcrichton
Copy link
Member

This keeps things updated and pulls in some new features from wasm-tools:

  • Multiple returns in the component model are now gated by default. This is reflected in a new Config option and CLI flag. The hope is to remove this feature is no one ends up needing it.

  • Support for more shared things were added but the feature is always disabled so internal handlers just panic.

Tests were updated to not use multiple returns where appropriate, except for one test which is specifically testing for multiple returns and how it's reflected into the Rust type system.

This keeps things updated and pulls in some new features from
wasm-tools:

* Multiple returns in the component model are now gated by default. This
  is reflected in a new `Config` option and CLI flag. The hope is to
  remove this feature is no one ends up needing it.

* Support for more `shared` things were added but the feature is always
  disabled so internal handlers just panic.

Tests were updated to not use multiple returns where appropriate, except
for one test which is specifically testing for multiple returns and how
it's reflected into the Rust type system.
@alexcrichton alexcrichton requested a review from a team as a code owner July 16, 2024 21:04
@alexcrichton alexcrichton requested review from elliottt and removed request for a team July 16, 2024 21:04
@alexcrichton alexcrichton enabled auto-merge July 16, 2024 21:04
@alexcrichton alexcrichton added this pull request to the merge queue Jul 16, 2024
Merged via the queue into bytecodealliance:main with commit 88b45a4 Jul 16, 2024
37 checks passed
@alexcrichton alexcrichton deleted the update-wasm-tools branch July 16, 2024 21:28
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Jul 24, 2024
This commit fixes an issue from the last upgrade of wasm-tools where
multiple returns on component model functions are now gated by default.
github-merge-queue bot pushed a commit that referenced this pull request Jul 24, 2024
This commit fixes an issue from the last upgrade of wasm-tools where
multiple returns on component model functions are now gated by default.
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.

3 participants