Zig 0.17.0-dev (Split by item)

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 library itself.

cpu

xcore.cpu
pub const cpu = struct

File

lib/std/Target/xcore.zig:26

Code

pub const cpu = struct {
    pub const generic: CpuModel = .{
        .name = "generic",
        .llvm_name = "generic",
        .features = featureSet(&[_]Feature{}),
    };
    pub const xs1b_generic: CpuModel = .{
        .name = "xs1b_generic",
        .llvm_name = "xs1b-generic",
        .features = featureSet(&[_]Feature{}),
    };
}