diff options
| author | bors <bors@rust-lang.org> | 2017-12-18 20:44:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-12-18 20:44:18 +0000 |
| commit | e7db42fb5b9a620c5669711546663d0ccebf9291 (patch) | |
| tree | fe6313234b01b04761fc780066b27e6663eb6ea8 /src/rustllvm/RustWrapper.cpp | |
| parent | b058dc0107b734b0a1a664ca0209366bb59eb3e9 (diff) | |
| parent | 087f1c23a70f889ea157c68b9db36c524e95ba8f (diff) | |
| download | rust-e7db42fb5b9a620c5669711546663d0ccebf9291.tar.gz rust-e7db42fb5b9a620c5669711546663d0ccebf9291.zip | |
Auto merge of #46808 - eddyb:issue-46769-quick, r=arielb1
rustc: ensure optimized enums have a properly aligned size. Fixes #46769 by padding the optimized enums wrapping packed data as necessary. Note that this is not the only way to solve this - on nightly, #46436 makes it easier to fix without adding new padding because of the replacement of `packed` flags with a non-redundant scheme. But because it can't be backported, the optimal fix will be in a separate nightly-only PR (#46809).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
