Rust Internals
Allocation and Deallocation in different allocators
language design
Unsafe Code Guidelines
Ddystopia
August 1, 2024, 11:35am
5
This is unsound and was discussed before
show post in topic
Related topics
Topic
Replies
Views
Activity
Is it ub to call `Box::from_raw` to not heap
Unsafe Code Guidelines
7
473
January 16, 2026
ThinBox::new_unsize should not allocate
8
820
April 22, 2023
Manually freeing the pointer from ::into_raw?
language design
20
2697
November 27, 2023
Generic Types over Statics
language design
18
1945
May 4, 2020
Layout is computed even for (de)allocators that don't use it
compiler
7
1081
October 16, 2022