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.

want_windows_arm_abi

These functions are required on Windows on ARM. They are provided by MSVC libc, but in libc-less builds or when linking MinGW libc they are our responsibility. Temporarily used for thumb-uefi until https://github.com/ziglang/zig/issues/21630 is addressed.

compiler_rt.want_windows_arm_abi
pub const want_windows_arm_abi = e:

File

lib/compiler_rt.zig:379

Code

pub const want_windows_arm_abi = e: {
    if (!builtin.cpu.arch.isArm()) break :e false;
    switch (builtin.os.tag) {
        .windows, .uefi => {},
        else => break :e false,
    }
    // The ABI is needed, but it's only our reponsibility if libc won't provide it.
    break :e builtin.abi.isGnu() or !builtin.link_libc;
}