I would like to create a module that can read wit files and allow the user to call functions based on the wit file without the need for a macro. User would be able to pass in function name and specified parameters. My question is would I have to call appropriate 'realloc' or is this just intrinsically baked into the abi and are handled automatically?
For this you'll be using wasmtime::component::Val
which handles all the ABI details for you with wasmtime::component::Func::call
Last updated: Nov 22 2024 at 16:03 UTC