#[host_function]
Expand description
Macro used to annotate host function that can be exposed to guest.
ⓘ
#[host_function]
fn print(text: &String) {
println!("Wasm: {text}");
}