Function emerald_std::alloc::alloc

source ·
pub unsafe fn alloc(layout: Layout) -> *mut u8
Expand description

Safety

This function is unsafe because it performs raw memory allocation using the system allocator. The caller must ensure that the allocated memory is properly initialized and eventually deallocated