std.Target.Query.canDetectLibC
pub fn canDetectLibC(self: Query) bool
- Kind
- function
- Module
std.Target.Query
Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The entries of std.Target.Query in the Zig reference. This page has 22 cards.
pub fn canDetectLibC(self: Query) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn eql(a: CpuModel, b: CpuModel) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn eql(a: Query, b: Query) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fromTarget(target: *const Target) Query
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn isNative(self: Query) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn isNativeAbi(self: Query) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn isNativeCpu(self: Query) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn isNativeOs(self: Query) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn isNativeTriple(self: Query) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn eql(a: OsVersion, b: OsVersion) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn eqlOpt(a: ?OsVersion, b: ?OsVersion) bool
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn parse(args: ParseOptions) !Query
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn parseCpuArch(args: ParseOptions) ?Target.Cpu.Arch
Similar to `parse` except instead of fully parsing, it only determines the CPU architecture and returns it if it can be determined, and returns `null` otherwise.
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn parseVersion(ver: []const u8) error
Similar to `SemanticVersion.parse`, but with following changes: * Leading zeroes are allowed. * Supports only 2 or 3 version components (major, minor, [patch]).
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn serializeCpu(q: Query, buffer: *std.array_list.Managed(u8)) Allocator.Error!void
Renders the query into a textual representation that can be parsed via the `-mcpu` flag passed to the Zig compiler.
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn serializeCpuAlloc(q: Query, ally: Allocator) Allocator.Error![]u8
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn zigTriple(self: Query, gpa: Allocator) Allocator.Error![]u8
std.Target.QuerySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.