DoxigAlpha

allFeaturesList

All CPU features Zig is aware of, sorted lexicographically by name.

Function parameters

Parameters

#

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#
requiresLibC
Does this target require linking libc? This may be the case if the target has an unstable
cCharSignedness
Default signedness of `char` for the native C compiler for this target

Source

Implementation

#
pub fn allFeaturesList(arch: Arch) []const Cpu.Feature {
    return switch (arch.family()) {
        inline else => |f| &@field(Target, @tagName(f)).all_features,
    };
}