Files
rust/compiler
bors 3066253050 Auto merge of #120080 - cuviper:128-align-packed, r=nikic
Pack u128 in the compiler to mitigate new alignment

This is based on #116672, adding a new `#[repr(packed(8))]` wrapper on `u128` to avoid changing any of the compiler's size assertions. This is needed in two places:

* `SwitchTargets`, otherwise its `SmallVec<[u128; 1]>` gets padded up to 32 bytes.
* `LitKind::Int`, so that entire `enum` can stay 24 bytes.
  * This change definitely has far-reaching effects though, since it's public.
2024-01-22 13:08:19 +00:00
..
2023-10-30 08:46:02 +11:00
2024-01-16 21:15:31 +01:00
2024-01-19 20:10:39 -08:00
2024-01-17 03:14:16 +01:00
2024-01-19 20:10:39 -08:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2024-01-22 10:14:01 +11:00
2023-11-23 14:11:02 +03:00
2024-01-22 10:14:01 +11:00
2024-01-17 03:14:16 +01:00
2024-01-22 10:14:01 +11:00
2024-01-22 10:14:01 +11:00
2024-01-20 16:52:18 -03:00
2024-01-22 10:14:01 +11:00
2024-01-22 10:14:01 +11:00
2024-01-19 20:38:51 +00:00
2024-01-19 11:09:30 +01:00