Fields

cpu: Cpu,
os: Os,
abi: Abi,

Functions

inline fn c_type_alignment(target: Target, c_type: CType) u16

No documentation provided.

inline fn c_type_bit_size(target: Target, c_type: CType) u16

No documentation provided.

inline fn c_type_byte_size(t: Target, c_type: CType) u16

No documentation provided.

inline fn c_type_preferred_alignment(target: Target, c_type: CType) u16

No documentation provided.

inline fn charSignedness(target: Target) std.builtin.Signedness

Default signedness of char for the native C compiler for this target Note tha…

Default signedness of char for the native C compiler for this target Note that char signedness is implementation-defined and many compilers provide an option to override the default signedness e.g. GCC’s -funsigned-char / -fsigned-char

fn dynamicLibSuffix(self: Target) [:0]const u8

No documentation provided.

fn exeFileExt(self: Target) [:0]const u8

No documentation provided.

fn exeFileExtSimple(cpu_arch: Cpu.Arch, os_tag: Os.Tag) [:0]const u8

No documentation provided.

inline fn getFloatAbi(self: Target) FloatAbi

No documentation provided.

inline fn hasDynamicLinker(self: Target) bool

No documentation provided.

inline fn isAndroid(self: Target) bool

No documentation provided.

inline fn isBSD(self: Target) bool

No documentation provided.

inline fn isBpfFreestanding(self: Target) bool

No documentation provided.

inline fn isDarwin(self: Target) bool

No documentation provided.

inline fn isGnu(self: Target) bool

No documentation provided.

inline fn isGnuLibC(self: Target) bool

No documentation provided.

inline fn isGnuLibC_os_tag_abi(os_tag: Os.Tag, abi: Abi) bool

No documentation provided.

inline fn isMinGW(self: Target) bool

No documentation provided.

inline fn isMusl(self: Target) bool

No documentation provided.

inline fn isSpirV(self: Target) bool

No documentation provided.

inline fn isWasm(self: Target) bool

No documentation provided.

fn libPrefix(self: Target) [:0]const u8

No documentation provided.

fn libPrefix_os_abi(os_tag: Os.Tag, abi: Abi) [:0]const u8

No documentation provided.

fn linuxTriple(self: Target, allocator: mem.Allocator) ![]u8

No documentation provided.

fn linuxTripleSimple(allocator: mem.Allocator, cpu_arch: Cpu.Arch, os_tag: Os.Tag, abi: Abi) ![]u8

No documentation provided.

inline fn maxIntAlignment(target: Target) u16

No documentation provided.

fn plan9Ext(cpu_arch: Cpu.Arch) [:0]const u8

0c spim little-endian MIPS 3000 family 1c 68000 Motorola MC68000 2c 68020…

0c spim little-endian MIPS 3000 family 1c 68000 Motorola MC68000 2c 68020 Motorola MC68020 5c arm little-endian ARM 6c amd64 AMD64 and compatibles (e.g., Intel EM64T) 7c arm64 ARM64 (ARMv8) 8c 386 Intel x86, i486, Pentium, etc. kc sparc Sun SPARC qc power Power PC vc mips big-endian MIPS 3000 family

inline fn ptrBitWidth(target: Target) u16

No documentation provided.

inline fn stackAlignment(target: Target) u16

No documentation provided.

fn standardDynamicLinkerPath(self: Target) DynamicLinker

No documentation provided.

fn staticLibSuffix(self: Target) [:0]const u8

No documentation provided.

fn staticLibSuffix_os_abi(os_tag: Os.Tag, abi: Abi) [:0]const u8

No documentation provided.

inline fn supportsNewStackCall(self: Target) bool

No documentation provided.

fn zigTriple(self: Target, allocator: mem.Allocator) ![]u8

No documentation provided.