Skip to main content

wit_export

Attribute Macro wit_export 

Source
#[wit_export]
Expand description

Registers an impl block’s functions as callable host functions exported to guest Wasm modules.

The code generated depends on the enabled feature flags to determine which Wasm runtimes will be supported.