rustwasm/wee_alloc
View on GitHubCreate a C API posix-compatible malloc/free wrapper crate
Open
#9 opened on Feb 2, 2018
help wantedmentored
Repository metrics
- Stars
- (711 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Summary
Add a C API crate that wraps wee_alloc and provides posix malloc and free.
Motivation
C and C++ projects targeting wasm could benefit from wee_alloc too, and more users = more bug reports and reliability work and all that good stuff.
Details
-
New crate at the top level of the repo, depending on
wee_alloc -
Wraps a
wee_allocglobal allocator and exposesmallocandfree(and I thinkreallocis part of the posix spec too?)