diff --git a/lib/std/debug.zig b/lib/std/debug.zig index b47aa540d21a8995352a81be10430037ae1b34f9..942c21212c8300d493ef0fc076da3bf3fb4e52aa 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; };