Closed
Description
There are a number of common tricks to writing unsafe Rust that tend to be just passed around as received wisdom, but it's not particularly easy or obvious. For some use cases using unsafe pointers is just easier, so we should cater to this with nicer library functions. This is an open-ended task to identify common unsafe patterns and extract them into the standard library. The only things I have in mind off hand are alloc
and free
functions to encapsulate the transmutes from unique pointers.
Metadata
Metadata
Assignees
Labels
No labels