0.2.0 Preview 1 · Frozen documentation
TargetAbi
Identifies the target machine calling and classification ABI.
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.compiler
import std.compiler;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
TargetAbi
pub enum TargetAbiIdentifies the target machine calling and classification ABI.
This target fact is distinct from std.abi.NativeAbiProfile, which selects the foreign-language profile interpreted under this machine ABI.
TargetAbi.SysVAMD64
SysVAMD64;Selects the System V AMD64 calling and classification contract.
CurrentTargetAbi
pub const CurrentTargetAbi: TargetAbi;Exposes the machine ABI selected for generated code. Return: .SysVAMD64 for the first target.
Documentation snapshot: October 24, 2026 About versions ↗