diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index c6b53d6f0dab..c065e12edaa3 100644 --- a/lib/std/os/linux.zig +++ b/lib/std/os/linux.zig @@ -4784,12 +4784,13 @@ pub fn CPU_COUNT(set: cpu_set_t) cpu_count_t { pub const MINSIGSTKSZ = switch (native_arch) { .x86, .x86_64, .arm, .mipsel => 2048, + .loongarch64 => 4096, .aarch64 => 5120, else => @compileError("MINSIGSTKSZ not defined for this architecture"), }; pub const SIGSTKSZ = switch (native_arch) { .x86, .x86_64, .arm, .mipsel => 8192, - .aarch64 => 16384, + .aarch64, .loongarch64 => 16384, else => @compileError("SIGSTKSZ not defined for this architecture"), };