commit 4e943fc847befb477fbb76e42b199e1f61868a4a (tree)
parent d5585bc650b7549f38d551d9021c60f9247bb237
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Fri, 31 Oct 2025 17:06:54 +0100
std.c: add missing MINSIGSTKSZ for some FreeBSD targets
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/std/c.zig b/lib/std/c.zig
@@ -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,