Docs.rs
servo-allocator-0.3.0
servo-allocator 0.3.0
Docs.rs crate page
MPL-2.0
Links
Repository
crates.io
Source
Owners
jdm
sagudev
jschwe
mrobinson
Dependencies
backtrace ^0.3
normal
optional
log ^0.4.30
normal
optional
rustc-hash ^2.1.2
normal
optional
libc ^0.2
normal
optional
tikv-jemalloc-sys ^0.6.1
normal
tikv-jemallocator ^0.6.1
normal
libc ^0.2
normal
windows-sys ^0.61
normal
Versions
50%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module libc_compat
servo_
allocator
0.3.0
Module libc_
compat
Module Items
Functions
In crate servo_
allocator
servo_allocator
Module
libc_
compat
Copy item path
Source
Expand description
Memory allocation APIs compatible with libc
Functions
§
free
⚠
Deallocates previously-allocated memory region referenced by
ptr
.
malloc
⚠
Allocates
size
bytes of uninitialized memory.
realloc
⚠
Resizes the previously-allocated memory region referenced by
ptr
to
size
bytes.