0.2.0 Preview 1 · Frozen documentation
Export
Publishes a body-bearing public native-qualified function or initialized public module storage.
Sn is under heavy development. Reference extracted from this release’s bundled standard library. Public API examples are not an exhaustive compatibility test. Read the matching release guide for tested workflows and limitations. 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 ↗