Static rustc_allocator::ALLOCATOR_METHODS [−][src]
pub static ALLOCATOR_METHODS: &[AllocatorMethod]=
&[AllocatorMethod{name: "alloc", inputs: &[AllocatorTy::Layout], output: AllocatorTy::ResultPtr,}, AllocatorMethod{name: "dealloc", inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout], output: AllocatorTy::Unit,}, AllocatorMethod{name: "realloc", inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout, AllocatorTy::Usize], output: AllocatorTy::ResultPtr,}, AllocatorMethod{name: "alloc_zeroed", inputs: &[AllocatorTy::Layout], output: AllocatorTy::ResultPtr,}]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?