Skip to main content

export_runtime

Macro export_runtime 

Source
export_runtime!() { /* proc-macro */ }
Expand description

Emit the runtime symbols every WeaveFFI library exports, prefixed with the crate’s name ({prefix}_abi_version, {prefix}_error_set, {prefix}_error_set_payload, {prefix}_error_clear, {prefix}_error_free, {prefix}_alloc, {prefix}_run_free, the four {prefix}_cancel_token_* functions, and {prefix}_debug_live), and the crate’s tag type. Invoke it exactly once, at the crate root.