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
499
July 25, 2024
ThinBox::new_unsize should not allocate
7
828
January 22, 2023
Manually freeing the pointer from ::into_raw?
language design
19
2776
August 29, 2023
Generic Types over Statics
language design
17
1976
February 4, 2020
Layout of DST `Box`
Unsafe Code Guidelines
11
600
October 22, 2024