Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function

allFeaturesList

Public Function
std.Target.Cpu.Arch.allFeaturesList
pub fn allFeaturesList(arch: Arch) []const Cpu.Feature

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

Params

File

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