Skip to content

Update to Wasmtime 34.0.0 #3172

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 1 commit into from
Jun 23, 2025
Merged

Update to Wasmtime 34.0.0 #3172

merged 1 commit into from
Jun 23, 2025

Conversation

alexcrichton
Copy link
Contributor

This commit updates to the 34.0.0 release of Wasmtime where the main impact in terms of API changes is the introduction of the HasData trait and refactoring of add_to_linker* functions. This now requires type annotations on bindgen-generated add_to_linker functions throughout the codebase. Another minor impact is that Wasmtime now requires 'static to be specified on a few locations T shows up for Store<T>, but this was just a few small annotations here and there within Spin.

This commit updates to the [34.0.0 release of Wasmtime][rel] where the
main impact in terms of API changes is the introduction of the `HasData`
trait and refactoring of `add_to_linker*` functions. This now requires
type annotations on bindgen-generated `add_to_linker` functions
throughout the codebase. Another minor impact is that Wasmtime now
requires `'static` to be specified on a few locations `T` shows up for
`Store<T>`, but this was just a few small annotations here and there
within Spin.

[rel]: https://github.com/bytecodealliance/wasmtime/releases/tag/v34.0.0

Signed-off-by: Alex Crichton <[email protected]>
@rylev rylev merged commit 92bb6c5 into spinframework:main Jun 23, 2025
17 checks passed
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