Hi all, a couple of months ago I was playing with wit. To generate the host code I was using wit_bindgen_host_wasmtime_rust
which was moved to wasmtime recently. I'm trying to migrate my code to use wasmtime as well, but I am having a hard time with wasmtime::component::bindgen!
. I'm able to produce the rust guest code with wit_bindgen_guest_rust::generate!
, but the wasmtime macro (from V5.0.0) give me the following error:
expected `default`, `world` or `interface`, found keyword `default`
Should I be using another version of wasmtime?
yes you'll want to use the release-6.0.0
branch of Wasmtime or the main
branch
Thank you :)
Last updated: Dec 23 2024 at 13:07 UTC