diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-12-23 23:57:02 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-12-23 23:57:02 -0700 |
| commit | 5b171f446f46c97de111bce0575452be0334a05e (patch) | |
| tree | c3ce543696892a846f21241863c07c62f2fcf7f2 /src/codegen.zig | |
| parent | 3763580e1e734b558499df5512f6a165f6db988b (diff) | |
| download | zig-5b171f446f46c97de111bce0575452be0334a05e.tar.gz zig-5b171f446f46c97de111bce0575452be0334a05e.zip | |
stage2: initial implementation of packed structs
Layout algorithm: all `align(0)` fields are squished together as if they
were a single integer with a number of bits equal to `@bitSizeOf` each
field added together. Then the natural ABI alignment of that integer is
used for that pseudo-field.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
