Function boehm_gc::__rust_allocate [] [src]

pub extern fn __rust_allocate(size: usize, _: usize) -> *mut u8

This implementation of __rust_allocate invokes GC_malloc_uncollectable, which allocates memory that is not collectable by the garbage collector but is capable of rooting GC'd pointers. Any pointer that resides in memory allocated by Rust's allocator will be traced for pointers, and any pointers that are contained within this memory are considered to be rooted.