Development · Evolving reference
Export
Publishes a body-bearing public native-qualified function or initialized public module storage.
Sn is under heavy development. This reference includes the intended 1.0 design; features may be incomplete in the current compiler. Read the status →
Module std.abi
import std.abi;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
Export
pub attribute ExportPublishes a body-bearing public native-qualified function or initialized public module storage.
Callable qualifiers supply function ABI independently of this attribute. Global storage representation comes from its declared native-compatible type.
Export.Symbol
pub Symbol: str?;Stores an optional exact native symbol spelling.
Export.Version
pub Version: str?;Stores an optional exact native symbol-version selector.
Documentation snapshot: October 24, 2026 About versions ↗