]> git.proxmox.com Git - wasi-libc.git/commit
Port emmalloc to wasi-libc.
authorDan Gohman <dev@sunfishcode.online>
Fri, 14 Oct 2022 23:09:55 +0000 (16:09 -0700)
committerDan Gohman <dev@sunfishcode.online>
Tue, 1 Nov 2022 19:54:26 +0000 (12:54 -0700)
commita7af7c064ba2a44776ccd3c629ecae31a18037d8
tree53a2e1418e0a4a26f7229fe052179d68a4ca1722
parentf8eaf0028c020d42c5202efb08dfcaf105fa74bb
Port emmalloc to wasi-libc.

 - Avoid using Emscripten-specific functions
 - Avoid using a constructor.
 - Add support for allocating memory at `__heap_base`.
 - Adjust the max-align value.
 - Disable functions that wasi-libc doesn't currently publish.
 - Add `__libc_` aliases.
Makefile
emmalloc/emmalloc.c