rust/library/core
bors fb24b04b09 Auto merge of #147353 - the8472:nondrop-array-iter, r=scottmcm
only call polymorphic array iter drop machinery when the type requires it

I saw a bunch of dead, empty  `<[core::mem::maybe_uninit::MaybeUninit<T>; N] as core::array::iter::iter_inner::PartialDrop>::partial_drop` functions when compiling with more than 1 CGU.

Let's see if we can help optimizations to eliminate stuff earlier.

r? ghost
2025-10-14 05:29:24 +00:00
..
src Auto merge of #147353 - the8472:nondrop-array-iter, r=scottmcm 2025-10-14 05:29:24 +00:00
Cargo.toml Add panic=immediate-abort 2025-09-21 13:12:18 -04:00