rust/library/alloc
Stuart Cook 7b73b2126d
Rollup merge of #148416 - GrigorenkoPV:vec_recycle, r=Mark-Simulacrum
`vec_recycle`: implementation

Tracking issue: rust-lang/rust#148227

Going with the `TransmuteFrom` approach suggested in https://github.com/rust-lang/libs-team/issues/674#issuecomment-3457795183, but a bit simplified.

Currently does not work in some places where it should due to the limitations of the current implementation of the transmutability analysis: https://github.com/rust-lang/rust/issues/148227#issuecomment-3478099591
2025-11-16 14:39:56 +11:00
..
src Rollup merge of #148416 - GrigorenkoPV:vec_recycle, r=Mark-Simulacrum 2025-11-16 14:39:56 +11:00
Cargo.toml Add panic=immediate-abort 2025-09-21 13:12:18 -04:00