about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-27 21:20:28 -0700
committerGitHub <noreply@github.com>2016-08-27 21:20:28 -0700
commitaa05a153630b64a6928128dae333714c0814c4ca (patch)
treed7e8b807331eab89ab5e6beccd59e0307adbd874 /src/rustllvm/PassWrapper.cpp
parente17d6db80a6baeb43cf37b784e58128c81d5a462 (diff)
parent3e313d9528adc64042012a19cc9a700bff11f19d (diff)
downloadrust-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