Files
rust/library/alloc/src
bors 2219766af6 Auto merge of #152605 - scottmcm:box-drop-alignment, r=Mark-Simulacrum
Pass alignments through the shim as `Alignment` (not `usize`)

We're using `Layout` on both sides, so might as well skip the transmutes back and forth to `usize`.

The mir-opt test shows that doing so allows simplifying the boxed-slice drop slightly, for example.
2026-02-15 13:38:45 +00:00
..
2026-01-11 16:39:18 +03:00
2026-02-11 21:18:07 +00:00
2026-02-08 22:22:58 +01:00
2026-02-13 09:25:50 +08:00
2025-11-14 18:23:19 +03:00
2026-02-13 09:25:50 +08:00
2026-02-13 09:25:50 +08:00
2025-04-28 06:56:13 +10:00
2026-01-20 17:15:50 +03:00
2026-02-07 17:20:39 +03:00
2026-01-27 21:15:27 +03:00
2026-01-07 09:31:59 +08:00