Comment by Splizard

23 days ago

You have to tell musl to use mmap instead of brk. You're right that it doesn't work in all cases but as long as you switch TLS on calls (and callbacks), at least with a project the size of Godot, you can approach a workable solution.

> You have to tell musl to use mmap instead of brk.

How do I do that? Is there a documented configuration of musl's allocator?