struct Diagnostics [src]

Fields

arch: ?Target.Cpu.Arch = nullIf the architecture was determined, this will be populated.
os_name: ?[]const u8 = nullIf the OS name was determined, this will be populated.
os_tag: ?Target.Os.Tag = nullIf the OS tag was determined, this will be populated.
abi: ?Target.Abi = nullIf the ABI was determined, this will be populated.
cpu_name: ?[]const u8 = nullIf the CPU name was determined, this will be populated.
unknown_feature_name: ?[]const u8 = nullIf error.UnknownCpuFeature is returned, this will be populated.
unknown_architecture_name: ?[]const u8 = nullIf error.UnknownArchitecture is returned, this will be populated.

Source

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