Registry / utility / dlmalloc

dlmalloc

JSON →
library0.2.13rscratesunverified

A Rust port of the dlmalloc allocator, providing a general-purpose memory allocator.

# Cargo.toml [dependencies] dlmalloc = "0.2.13"
INSTALL
IMPORT
SIG · DLMALLOC
D
dlmalloc
utilityrustv0.2.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Dlmalloc
use dlmalloc::Dlmalloc;

Set dlmalloc as the global allocator.

use dlmalloc::Dlmalloc; #[global_allocator] static ALLOC: Dlmalloc = Dlmalloc; fn main() { let _v = vec![1, 2, 3]; println!("Allocation works!"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.13latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
dlmalloc — cargo add dlmalloc · libregistry