c_allocator
Supports the full Allocator interface, including alignment, and exploiting
malloc_usable_size if available. For an allocator that directly calls
malloc/free, see raw_c_allocator.
Source
Implementation
pub const c_allocator: Allocator = .{
.ptr = undefined,
.vtable = &CAllocator.vtable,
}