diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-02 00:20:41 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-02 13:43:41 +0100 |
| commit | 15ff891f044102ba6515cb07f40805452420ea24 (patch) | |
| tree | 05e00c580057290dfcfccda0a8483668322aa11f /lib/std | |
| parent | 521bd2e94a3b32382b2d1de1e6185149032b49db (diff) | |
| download | zig-15ff891f044102ba6515cb07f40805452420ea24.tar.gz zig-15ff891f044102ba6515cb07f40805452420ea24.zip | |
stage2: pad out (non-packed) struct fields when lowering to bytes
* 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`
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions
