fastly / Viceroy

Viceroy provides local testing for developers working with Compute.
https://fastly.dev/learning/compute/testing/#running-a-local-testing-server
Apache License 2.0
140 stars 35 forks source link

Update to wasmtime-21 #369

Closed elliottt closed 1 month ago

elliottt commented 1 month ago

Update to wasmtime 21.0.0.

The most substantial changes were to the use of the component::bindgen! macro, which now no longer automatically generates host bindings that are allowed to trap. Additionally, the generated add_to_linker functions are no longer present, and we instead need to use add_to_linker_get_host, which requires a new projection function to be supplied.