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

Diagnostics

Public Struct
std.Target.Query.ParseOptions.Diagnostics
pub const Diagnostics = struct

Fields

arch: ?Target.Cpu.Arch = null

If the architecture was determined, this will be populated.

os_name: ?[]const u8 = null

If the OS name was determined, this will be populated.

os_tag: ?Target.Os.Tag = null

If the OS tag was determined, this will be populated.

abi: ?Target.Abi = null

If the ABI was determined, this will be populated.

cpu_name: ?[]const u8 = null

If the CPU name was determined, this will be populated.

unknown_feature_name: ?[]const u8 = null

If error.UnknownCpuFeature is returned, this will be populated.

unknown_architecture_name: ?[]const u8 = null

If error.UnknownArchitecture is returned, this will be populated.

File

Target/Query.zig:188
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
    pub const Diagnostics = struct {
        /// If the architecture was determined, this will be populated.
        arch: ?Target.Cpu.Arch = null,

        /// If the OS name was determined, this will be populated.
        os_name: ?[]const u8 = null,

        /// If the OS tag was determined, this will be populated.
        os_tag: ?Target.Os.Tag = null,

        /// If the ABI was determined, this will be populated.
        abi: ?Target.Abi = null,

        /// If the CPU name was determined, this will be populated.
        cpu_name: ?[]const u8 = null,

        /// If error.UnknownCpuFeature is returned, this will be populated.
        unknown_feature_name: ?[]const u8 = null,

        /// If error.UnknownArchitecture is returned, this will be populated.
        unknown_architecture_name: ?[]const u8 = null,
    }