diff options
| author | bors <bors@rust-lang.org> | 2017-12-15 19:02:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-12-15 19:02:22 +0000 |
| commit | 77efd6800c57ba83923dddbbabf03c7afa6a34a4 (patch) | |
| tree | 3524f06aa28cea73cda2b2c151dc5d817ab80b9a /src/libsyntax/codemap.rs | |
| parent | 50f6c3ece0ec738da48f8e77e6379a14bd02d1f4 (diff) | |
| parent | 8a26e0422dc55b82577de3027800ca29a4d522b7 (diff) | |
| download | rust-77efd6800c57ba83923dddbbabf03c7afa6a34a4.tar.gz rust-77efd6800c57ba83923dddbbabf03c7afa6a34a4.zip | |
Auto merge of #46623 - eddyb:issue-46449, r=nagisa
rustc_trans: approximate ABI alignment for padding/union fillers. Before #45225 and after this PR, unions and enums are filled with integers of size and alignment matching their alignment (e.g. `Option<u32>` becomes `[u32; 2]`) instead of mere bytes. Also, the alignment padding between struct fields gets this treatment after this PR. Partially helps with some reduced testcases in #46449, although it doesn't solve the bug itself.
Diffstat (limited to 'src/libsyntax/codemap.rs')
0 files changed, 0 insertions, 0 deletions
