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
..
boxed Stabilize alloc_layout_extra 2026-01-11 16:39:18 +03:00
collections add BinaryHeap::from_raw_vec 2026-02-11 21:18:07 +00:00
ffi remove from impl block in std 2026-02-08 22:22:58 +01:00
raw_vec Use repeat_packed when calculating layouts in RawVec 2026-01-21 01:11:12 -08:00
vec Remove unused features in library 2026-02-13 09:25:50 +08:00
wtf8 Stabilize char_max_len 2025-11-14 18:23:19 +03:00
alloc.rs Pass alignments through the shim as Alignment (not usize) 2026-02-14 01:39:16 -08:00
borrow.rs alloc: Move Cow impl to existing ones 2026-01-02 20:40:04 +01:00
boxed.rs Remove unused features in library 2026-02-13 09:25:50 +08:00
bstr.rs Remove named lifetimes in some PartialOrd & PartialEq impls 2026-02-14 00:13:46 +03:00
fmt.rs Add some clarifications and fixes for fmt syntax 2026-01-12 09:35:59 -08:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Remove unused features in library 2026-02-13 09:25:50 +08:00
macros.rs Streamline the format macro. 2025-04-28 06:56:13 +10:00
rc.rs ptr_aligment_type: add more APIs 2026-01-20 17:15:50 +03:00
slice.rs Auto merge of #151337 - the8472:bail-before-memcpy2, r=Mark-Simulacrum 2026-01-25 19:45:35 +00:00
str.rs const { 'Σ'.len_utf8() } 2026-02-07 17:20:39 +03:00
string.rs Remove named lifetimes in some PartialOrd & PartialEq impls 2026-02-14 00:13:46 +03:00
sync.rs Stabilize atomic_try_update 2026-01-27 21:15:27 +03:00
task.rs Apply suggestion from @tisonkun 2026-01-07 09:31:59 +08:00