rust/compiler/rustc_mir_build/src
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
..
build Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
thir Auto merge of #120080 - cuviper:128-align-packed, r=nikic 2024-01-22 13:08:19 +00:00
check_unsafety.rs Handle context for const patterns correctly 2024-01-05 10:00:59 +00:00
errors.rs Typecheck never patterns 2024-01-18 21:15:24 +01:00
lib.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
lints.rs rustc: hir().local_def_id_to_hir_id() -> tcx.local_def_id_to_hir_id() cleanup 2023-11-26 12:41:21 +03:00