wasmtime
wasmtime copied to clipboard
Is it possible to use core wasm module functionalities along with component wasm ?
Suppose I wrote some code in rust which have exported extern functions annonated #[export_name = "..."]
macro and I also have trait implmentation of exported functions through wit .
So after doing compilation to wasm using cargo build --target=wasm32-wasi
, I get core wasm module which then I convert to component model using wasm-tools component new ... adapt ...
Now in my main function in host I want to call both annonated exported function as well as exported through wit .
How can I ?