diff options
| author | bors <bors@rust-lang.org> | 2023-12-14 07:19:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-14 07:19:07 +0000 |
| commit | 1a8afa0e748008708950e1a9ff62c598e2cfb3ea (patch) | |
| tree | 7ceeff47da477f9eca5cb3be5e318143ea21a83c /compiler/rustc_codegen_llvm/src/allocator.rs | |
| parent | d23e1a689426638a5146c204e09278433c509610 (diff) | |
| parent | 7e4c4271f44055b4dbd6f09aad19624254d67f22 (diff) | |
| download | rust-1a8afa0e748008708950e1a9ff62c598e2cfb3ea.tar.gz rust-1a8afa0e748008708950e1a9ff62c598e2cfb3ea.zip | |
Auto merge of #118538 - RalfJung:size-of-val-comments, r=WaffleLapkin
fix dynamic size/align computation logic for packed types with dyn trait tail This logic was never updated to support `packed(N)` where `N > 1`, and it turns out to be wrong for that case. Fixes https://github.com/rust-lang/rust/issues/80925 `@bjorn3` I have not looked at cranelift; I assume it basically copied the size-of-val logic and hence could use much the same patch.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions
