wasmtime icon indicating copy to clipboard operation
wasmtime copied to clipboard

Is it possible to use core wasm module functionalities along with component wasm ?

Open redoC-A2k opened this issue 3 months ago • 1 comments

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 ?

redoC-A2k avatar May 01 '24 03:05 redoC-A2k