feature. See also
. The project being documented here (as the example) is the Zig library itself.
c.MINSIGSTKSZ
pub const MINSIGSTKSZ = switch (native_os)
File
Code
pub const MINSIGSTKSZ = switch (native_os) {
.driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => 32768,
.freebsd => switch (builtin.cpu.arch) {
.powerpc64, .powerpc64le, .x86, .x86_64 => 2048,
.arm, .aarch64, .riscv64 => 4096,
else => @compileError("unsupported arch"),
},
.illumos => 2048,
.haiku, .netbsd => 8192,
.openbsd => 1 << openbsd.MAX_PAGE_SHIFT,
.serenity => 4096,
else => {},
}