Memory allocation in stable rust, providing a similar interface to
notably these functions align everything according to the alignment of
than using a user-provided alignment.
Additionally, they do not allow for handling allocation failure, and will simply abort the process on OOM. Unfortunately, this limitation is unavoidable if we want to use only stable APIs.
Returns a pointer to
Deallocates the memory referenced by
A token empty allocation which cannot be read from or written to, but which can be used as a placeholder when a 0-sized allocation is required.
Resizes the allocation referenced by