0
Fork 0
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:
LemonBoy 2019-09-07 11:17:12 +02:00 • committed by Andrew Kelley
commit 8fbae77770
No known key found for this signature in database
GPG key ID: 7C5F548F728501A9
2 changed files with 17 additions and 3 deletions