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
6
447
July 25, 2024
Generic Types over Statics
language design
18
1893
May 4, 2020
ThinBox::new_unsize should not allocate
8
805
April 22, 2023
Manually freeing the pointer from ::into_raw?
language design
20
2637
November 27, 2023
Layout is computed even for (de)allocators that don't use it
compiler
7
1058
October 16, 2022