zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit c9e0df97f9f3cb4fff92769d0715ebba9e31be44 (tree)
parent 0ec45050e0e5f503ebd35473e797ab73f8e64f09
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Sun, 26 Oct 2025 07:50:23 +0100

std.debug.cpu_context: fix mcontext alignment for x86_64-illumos

It contains a upad128_t array which increases its alignment.

Diffstat:
Mlib/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 @@ -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,