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.

__aarch64_have_lse_atomics

This default is overridden at runtime after inspecting CPU properties. It is intentionally not exported in order to make the machine code that uses it a statically predicted direct branch rather than using the PLT, which ARM is concerned would have too much overhead.

aarch64_outline_atomics.__aarch64_have_lse_atomics
var __aarch64_have_lse_atomics: u8 = @intFromBool(always_has_lse)

File

lib/compiler_rt/aarch64_outline_atomics.zig:12

Code

var __aarch64_have_lse_atomics: u8 = @intFromBool(always_has_lse)