structstd.Target.Query.ParseOptions.Diagnostics[src]

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.

Source Code

Source code
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,
}