Expand description
This crate provides attribute macros used by wasm_plugin_guest
Macros§
- import_
functions - Import functions from the host program. The function’s arguments an return
type must all be serializable. Several functions can be imported at once
by listing their signatures seperated by
;
Attribute Macros§
- export_
function - Builds an extern function which will handle serializing and deserializing of arguments and return values of the function it is applied to. The function must take only deserializable arguments and return a serializable result.