Stream: wit-bindgen

Topic: wit-bindgen-rt


view this post on Zulip Bozhidar Manev (Oct 10 2024 at 21:33):

Hi, I have been working with wit-bindgen for some time, and I have had different experiences through the different versions. Just today I created a new component

cargo component new --lib

Why it doesn't depend on wit-bindgen (Cargo.toml), but on wit-bindgen-rt? What is the difference between the two crates? What also triggers the regeneration of the bindings, because running

cargo component build --target wasm32-unknown-unknown

rarely works for me. I have also used the generate! macro but then I am losing the ability to see the use statements


Last updated: Dec 23 2024 at 13:07 UTC