mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-17 05:25:46 +03:00
15ff891f04
* pad out (non-packed) struct fields when lowering to bytes to be saved in the binary - prior to this change, fields would be saved at non-aligned addresses leading to wrong accesses * add a matching test case to `behavior/struct.zig` tests * fix offset to field calculation in `struct_field_ptr` on `x86_64`