diff options
| author | bors <bors@rust-lang.org> | 2016-08-27 21:20:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-27 21:20:28 -0700 |
| commit | aa05a153630b64a6928128dae333714c0814c4ca (patch) | |
| tree | d7e8b807331eab89ab5e6beccd59e0307adbd874 /src/rustllvm/PassWrapper.cpp | |
| parent | e17d6db80a6baeb43cf37b784e58128c81d5a462 (diff) | |
| parent | 3e313d9528adc64042012a19cc9a700bff11f19d (diff) | |
| download | rust-aa05a153630b64a6928128dae333714c0814c4ca.tar.gz rust-aa05a153630b64a6928128dae333714c0814c4ca.zip | |
Auto merge of #36027 - eddyb:unsized-prefix, r=nagisa
rustc_trans: don't round up the DST prefix size to its alignment. Fixes #35815 by using `ty::layout` and `min_size` to compute the size of the DST prefix. `ty::layout::Struct::min_size` is not rounded up to alignment, which could be smaller for the DST field.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
