#malloc #thread-safe


Extraction of musl-libc's malloc, made single-threaded and freestanding

1 stable release

Uses old Rust 2015

1.0.0 Apr 25, 2016

MIT license

521 lines

A malloc implementation pulled out of musl-libc and made freestanding. Importantly, all notion of thread safety was removed - this crate can only be used in single-threaded programs!

Depends on the symbols memcpy, mmap, mremap, munmap, and madvise being defined. Defines own errno, named musl_alloc_errno.

No runtime deps