From c9e0df97f9f3cb4fff92769d0715ebba9e31be44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 26 Oct 2025 07:50:23 +0100 Subject: [PATCH] std.debug.cpu_context: fix mcontext alignment for x86_64-illumos It contains a upad128_t array which increases its alignment. --- lib/std/debug/cpu_context.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/debug/cpu_context.zig b/lib/std/debug/cpu_context.zig index bf1edd83c8..03cf6e633d 100644 --- a/lib/std/debug/cpu_context.zig +++ b/lib/std/debug/cpu_context.zig @@ -1997,7 +1997,7 @@ const signal_ucontext_t = switch (native_os) { }, // https://github.com/illumos/illumos-gate/blob/d4ce137bba3bd16823db6374d9e9a643264ce245/usr/src/uts/intel/sys/mcontext.h .x86_64 => extern struct { - r15: u64, + r15: u64 align(16), r14: u64, r13: u64, r12: u64,