From 78bc5d46e07f238f7ec90b1ef99001278ccc2174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 14 Oct 2025 22:32:37 +0200 Subject: [PATCH] std.debug: the SPARC stack bias is only used on the 64-bit ABI --- lib/std/debug.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/debug.zig b/lib/std/debug.zig index b47aa540d2..942c21212c 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -996,7 +996,7 @@ const StackIterator = union(enum) { /// Value to add to the stack pointer and frame/base pointers to get the real location being /// pointed to. Yes, SPARC really does this. const stack_bias = bias: { - if (native_arch.isSPARC()) break :bias 2047; + if (native_arch == .sparc64) break :bias 2047; break :bias 0; };