Crates.io | freestanding-musl-malloc |
lib.rs | freestanding-musl-malloc |
version | 1.0.0 |
source | src |
created_at | 2016-04-25 12:08:48.17681 |
updated_at | 2016-04-25 12:08:48.17681 |
description | Extraction of musl-libc's malloc, made single-threaded and freestanding |
homepage | https://gitlab.com/robigalia/freestanding-musl-malloc |
repository | https://gitlab.com/robigalia/freestanding-musl-malloc |
max_upload_size | |
id | 4849 |
size | 46,083 |
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
.