Skip to content

Update Wasmtime and Wizer#1090

Merged
jeffcharles merged 3 commits into
mainfrom
jc.wasmtime-39
Dec 3, 2025
Merged

Update Wasmtime and Wizer#1090
jeffcharles merged 3 commits into
mainfrom
jc.wasmtime-39

Conversation

@jeffcharles

Copy link
Copy Markdown
Collaborator

Description of the change

Updates Wasmtime and Wizer.

The Wizer changes are fairly invasive since the public interface changed substantially. The big one is run became async so all callers need to become async. Alternatively we could create our own Tokio runtime and use that to make the APIs sync but that's less than ideal if a caller is already using an async runtime anyway and it's easy enough to propagate the async changes up to the main methods. The other change is Wizer's run now takes a Store<T> so we can set up the WASI context ahead of time and avoid needing to use statics to propagate input values.

Why am I making this change?

We should keep Wasmtime and Wizer up-to-date.

Checklist

  • I've updated the default plugin import namespace and incremented the major version of javy-plugin-api if the QuickJS bytecode has changed.
  • I've updated the relevant CHANGELOG files if necessary. Changes to javy-cli, javy-plugin, and javy-plugin-processing do not require updating CHANGELOG files.
  • I've updated the relevant crate versions if necessary. Versioning policy for library crates
  • I've updated documentation including crate documentation if necessary.

@jeffcharles
jeffcharles enabled auto-merge (squash) December 3, 2025 15:18
@jeffcharles
jeffcharles merged commit 5cd1b1d into main Dec 3, 2025
5 checks passed
@jeffcharles
jeffcharles deleted the jc.wasmtime-39 branch December 3, 2025 15:29
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