mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
Force LLVM to generate byte-aligned packed unions
Sometimes the frontend and LLVM would disagree on the ABI alignment of a packed union. Solve the problem by telling LLVM we're gonna manage the struct layout by ourselves. Closes #3184
This commit is contained in:
parent
a06f84fcc6
commit
8fbae77770
2 changed files with 17 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue