summary refs log tree commit diff
path: root/src/test/run-pass/align-struct.rs
AgeCommit message (Collapse)AuthorLines
2017-07-17Support repr alignment on unions.Cameron Hart-0/+18
2017-07-08Box large array to avoid blowing the stackLee Bousfield-6/+8
2017-07-08Raised alignment limit from 2^15 to 2^31Lee Bousfield-0/+17
2017-04-21Added feature gate, updated error messages and tests.Cameron Hart-0/+1
2017-04-21Implementation of repr struct alignment RFC 1358.Cameron Hart-0/+195
The main changes around rustc::ty::Layout::struct and rustc_trans:adt: * Added primitive_align field which stores alignment before repr align * Always emit field padding when generating the LLVM struct fields * Added methods for adjusting field indexes from the layout index to the LLVM struct field index The main user of this information is rustc_trans::adt::struct_llfields which determines the LLVM fields to be used by LLVM, including padding fields.