Attribute Macros§
- vm_
handle - Register vm’s ABI for handling wasm callbacks.
format description:
#[vm_handle(wasmy_abi::Method)]
example: - wasm_
handle - Register wasm’s ABI for handling requests.
format description:
#[wasm_handle(i32)] or #[wasm_handle(method=i32)]
example: - wasm_
onload - Register the ABI for wasm load-time initialization state.
Register wasm’s ABI for handling requests.
format description:
#[wasm_onload]
example: