Skip to main content

module

Attribute Macro module 

Source
#[module]
Expand description

Mark an inline mod as an exported WeaveFFI namespace.

The macro re-emits the module unchanged and appends the generated C ABI thunks for every tagged item it contains (functions, records, enums). Apply it to a mod foo { ... } whose items carry the item-level markers.