authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-14 22:32:37+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-15 13:59:17+02:00
log78bc5d46e07f238f7ec90b1ef99001278ccc2174
treeb03438051126d30e2ee8fb2dc9e26efefbfd7493
parentebc0b90eb709b31e66daddfef26f32e36f169fc0
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.debug: the SPARC stack bias is only used on the 64-bit ABI


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/debug.zig+1-1
...@@ -996,7 +996,7 @@ const StackIterator = union(enum) {...@@ -996,7 +996,7 @@ const StackIterator = union(enum) {
996 /// Value to add to the stack pointer and frame/base pointers to get the real location being996 /// Value to add to the stack pointer and frame/base pointers to get the real location being
997 /// pointed to. Yes, SPARC really does this.997 /// pointed to. Yes, SPARC really does this.
998 const stack_bias = bias: {998 const stack_bias = bias: {
999 if (native_arch.isSPARC()) break :bias 2047;999 if (native_arch == .sparc64) break :bias 2047;
1000 break :bias 0;1000 break :bias 0;
1001 };1001 };
10021002