authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-03 11:23:44+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-03 11:27:42+02:00
logd8d0a3e5c77ccce33699d6c11a850d383a83c40d
tree2de4fc1d80f7df442ec9c888c9a94d65f7b9fd63
parentd51d18c98654e09cb1af7f2896f97b81ce6c83bb
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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