Attribute Macro wasmy_vm::wasm_onload
source · [−]#[wasm_onload]
Expand description
Register the ABI for wasm load-time initialization state.
Register wasm’s ABI for handling requests.
format description: #[wasm_onload]
example:
#[wasm_onload]
fn xxx() {}
command to check expanded code: cargo +nightly rustc -- -Zunstable-options --pretty=expanded