commit a4058856a4ba1952bbf80f5105d9c6f9b119a72a (tree)
parent f66a9be7cc4e63ed9328d3488df7e7e7784dce49
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Sat, 30 May 2026 18:45:44 +0200
std.debug.cpu_context: fix compile error on arc
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/debug/cpu_context.zig b/lib/std/debug/cpu_context.zig
@@ -50,7 +50,7 @@ pub fn fromPosixSignalContext(ctx_ptr: ?*const anyopaque) ?Native {
};
// I have no idea why the kernel is storing these registers in such a bizarre order...
- std.mem.reverse(native.r[0..]);
+ std.mem.reverse(u32, native.r[0..]);
return native;
} else if (native_arch == .loongarch32 and native_os == .linux) {