microsoft / mimalloc

mimalloc is a compact general purpose allocator with excellent performance.
MIT License
9.74k stars 791 forks source link

[Feature Request] Support of `musl libc` #872

Closed enihcam closed 2 months ago

enihcam commented 2 months ago

Please support musl libc so it can run on alpinelinux or any mobile/embedded platforms running musl libc.

Thanks.

daanx commented 2 months ago

It should work with musl on alpinelinux already. Did you use the -DMI_LOCAL_DYNAMIC_TLS=ON flag with cmake?

daanx commented 2 months ago

Let's continue further discussion in issue #644

jirutka commented 2 months ago

It indeed works already on Alpine Linux, we package mimalloc2 since Alpine v3.17.