Commit d8d0a3e5c7

Alex Rønne Petersen <alex@alexrp.com>
2025-09-03 11:23:44
std.debug: disable stack traces on loongarch
Observed to ~randomly crash during FP-based unwinding. The path forward here will be DWARF-based unwinding.
1 parent d51d18c
Changed files (1)
lib
lib/std/debug.zig
@@ -169,6 +169,8 @@ pub const runtime_safety = switch (builtin.mode) {
 pub const sys_can_stack_trace = switch (builtin.cpu.arch) {
     // Observed to go into an infinite loop.
     // TODO: Make this work.
+    .loongarch32,
+    .loongarch64,
     .mips,
     .mipsel,
     .mips64,