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.

can_build_ubsan

ubsan_rt.can_build_ubsan
const can_build_ubsan = switch (builtin.zig_backend)

File

lib/ubsan_rt.zig:649

Code

const can_build_ubsan = switch (builtin.zig_backend) {
    .stage2_powerpc,
    .stage2_riscv64,
    => false,
    else => true,
}