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 to Wasmtime 4.0.0 #217

Merged
merged 2 commits into from
Jan 19, 2023
Merged

Update to Wasmtime 4.0.0 #217

merged 2 commits into from
Jan 19, 2023

Conversation

alexcrichton
Copy link
Contributor

This commit upgrades to Wasmtime 4.0.0 which is the latest version of Wasmtime on crates.io. While Wasmtime 5.0.0 is going to be released tomorrow it's probably best to get this in first since there's a number of API changes here.

The main change in Wasmtime 4 is some updates to wiggle-based APIs to handle shared memory. This means that previous accessors may sometimes have another failure condition. For viceroy though these failure conditions are always errors, so I've introduced a new Error::SharedMemory here to cover this case.

This commit upgrades to Wasmtime 4.0.0 which is the latest version of
Wasmtime on crates.io. While Wasmtime 5.0.0 is going to be released
tomorrow it's probably best to get this in first since there's a number
of API changes here.

The main change in Wasmtime 4 is some updates to `wiggle`-based APIs to
handle shared memory. This means that previous accessors may sometimes
have another failure condition. For viceroy though these failure
conditions are always errors, so I've introduced a new
`Error::SharedMemory` here to cover this case.
Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a pleasure as always, @alexcrichton! thank you 🙏

@cratelyn cratelyn merged commit 52b1d65 into fastly:main Jan 19, 2023
@joeshaw joeshaw mentioned this pull request Jan 19, 2023
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