Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

ArchOsAbi

Public Struct
std.zig.target.ArchOsAbi
pub const ArchOsAbi = struct

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.

File

zig/target.zig:1
1
2
3
4
5
6
7
8
9
10
11
12
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,
}