structstd.zig.target.ArchOsAbi[src]

Fields

arch: std.Target.Cpu.Arch
os: std.Target.Os.Tag
abi: std.Target.Abi
os_ver: ?std.SemanticVersion = null
glibc_min: ?std.SemanticVersion = null

Minimum glibc version that provides support for the arch/OS when ABI is GNU. Note that Zig can only target glibc 2.2.5+, so null means the minimum is older than that.

glibc_triple: ?[]const u8 = null

Override for glibcRuntimeTriple when glibc has an unusual directory name for the target.

Source Code

Source code
pub const ArchOsAbi = struct {
    arch: std.Target.Cpu.Arch,
    os: std.Target.Os.Tag,
    abi: std.Target.Abi,
    os_ver: ?std.SemanticVersion = null,

    /// Minimum glibc version that provides support for the arch/OS when ABI is GNU. Note that Zig
    /// can only target glibc 2.2.5+, so `null` means the minimum is older than that.
    glibc_min: ?std.SemanticVersion = null,
    /// Override for `glibcRuntimeTriple` when glibc has an unusual directory name for the target.
    glibc_triple: ?[]const u8 = null,
}