Hi, i was wondering if introducing wit-component is necessary to actually be able to import wasm binaries that were outputs of a rust library using wasm-bindgen-guest? In wasmtime of course, being host.
Perhaps there is a way to abstract this away?
the wit-component crate states in the README, and I quote:
Note that this crate is intended to be a low-level detail of tooling for components. Developers will not necessarily interact with this tooling day-to-day, instead using wrappers such as cargo-component which will automatically execute wit-component to produce component binaries.
r-muhairi has marked this topic as resolved.
r-muhairi has marked this topic as unresolved.
I guess there is not, based on the workflow followed by the demo, that i overlooked,
https://github.com/bytecodealliance/wit-bindgen/blob/main/crates/wit-bindgen-demo/build.sh
It's a mere developer-experience type thing. However I guess since cargo doesn't support in itself post-build scripts and this being a library.
r-muhairi has marked this topic as resolved.
Last updated: Nov 22 2024 at 17:03 UTC