rustc_target: separate out an individual alignment quantity type from Align. Before this PR, `rustc_target::abi::Align` combined "power-of-two alignment quantity" semantics, with a distinction between ABI (required) and preferred alignment (by having two quantities). After this PR, `Align` is only *one* such quantity, and a new `AbiAndPrefAlign` type is introduced to hold the pair of ABI and preferred `Align` quantities. `Align` is used everywhere one quantity is necessary/sufficient, simplifying some of the code in codegen/miri, while `AbiAndPrefAlign` only in layout computation (to propagate preferred alignment). r? @oli-obk cc @nagisa @RalfJung @nikomatsakis |
||
|---|---|---|
| .. | ||
| create_scope_map.rs | ||
| doc.rs | ||
| gdb.rs | ||
| metadata.rs | ||
| mod.rs | ||
| namespace.rs | ||
| source_loc.rs | ||
| type_names.rs | ||
| utils.rs | ||