Closed orangeC23 closed 2 years ago
In the following wat file : test.txt
It wants to call the function assert_eq_i32 and print_input from host, how to call the host functions in wasm3 by rust api ?
assert_eq_i32
print_input
I think the relevant example is this: https://github.com/wasm3/wasm3-rs/blob/df74c2a17ed8831595de43db98c406da4633e32a/examples/wasm_link.rs#L19
In the following wat file : test.txt
It wants to call the function
assert_eq_i32
andprint_input
from host, how to call the host functions in wasm3 by rust api ?