std.c: add missing MINSIGSTKSZ for some FreeBSD targets

This commit is contained in:
Alex Rønne Petersen 2025-10-31 17:06:54 +01:00
parent d5585bc650
commit 4e943fc847
No known key found for this signature in database

View File

@ -9703,8 +9703,8 @@ pub const NSIG = switch (native_os) {
pub const MINSIGSTKSZ = switch (native_os) { pub const MINSIGSTKSZ = switch (native_os) {
.macos, .ios, .tvos, .watchos, .visionos => 32768, .macos, .ios, .tvos, .watchos, .visionos => 32768,
.freebsd => switch (builtin.cpu.arch) { .freebsd => switch (builtin.cpu.arch) {
.x86, .x86_64 => 2048, .powerpc64, .powerpc64le, .x86, .x86_64 => 2048,
.arm, .aarch64 => 4096, .arm, .aarch64, .riscv64 => 4096,
else => @compileError("unsupported arch"), else => @compileError("unsupported arch"),
}, },
.illumos => 2048, .illumos => 2048,