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 files changed, 2 insertions(+), 0 deletions(-)
lib
std
lib/std/debug.zig+2
| ... | ... | @@ -169,6 +169,8 @@ pub const runtime_safety = switch (builtin.mode) { |
| 169 | 169 | pub const sys_can_stack_trace = switch (builtin.cpu.arch) { |
| 170 | 170 | // Observed to go into an infinite loop. |
| 171 | 171 | // TODO: Make this work. |
| 172 | .loongarch32, |
| 173 | .loongarch64, |
| 172 | 174 | .mips, |
| 173 | 175 | .mipsel, |
| 174 | 176 | .mips64, |