#Do we have unsafe memory hamdling?
9 messages · Page 1 of 1 (latest)
Memory allocation APIs.
There also libc which you can use but you should prefer the API above.
?crate libc
Well
If you're looking specifically for libc's functions, because you want to free a malloc'd pointer, or to allocate a pointer that can be passed to free
Then you need libc's functions
If you're just doing manual allocation within Rust, then alloc has you covered and is preferable