mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.c: add missing MINSIGSTKSZ for some FreeBSD targets
This commit is contained in:
parent
d5585bc650
commit
4e943fc847
@ -9703,8 +9703,8 @@ pub const NSIG = switch (native_os) {
|
||||
pub const MINSIGSTKSZ = switch (native_os) {
|
||||
.macos, .ios, .tvos, .watchos, .visionos => 32768,
|
||||
.freebsd => switch (builtin.cpu.arch) {
|
||||
.x86, .x86_64 => 2048,
|
||||
.arm, .aarch64 => 4096,
|
||||
.powerpc64, .powerpc64le, .x86, .x86_64 => 2048,
|
||||
.arm, .aarch64, .riscv64 => 4096,
|
||||
else => @compileError("unsupported arch"),
|
||||
},
|
||||
.illumos => 2048,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user