sisungo
475334f2db
feat: add rpmalloc
2026-02-23 13:16:42 +08:00
sisungo
9ed6813222
fix: stdatomic.h compatibility with gcc -std=c11/c17/...
...
Newer versions of gcc has __has_feature(x) macro, too, and returns
true on c_atomic, though it does not support Clang-flavored atomic
builtins.
2026-02-22 15:52:46 +08:00
sisungo
58c7494c47
feat: add malloc initialization
2026-02-22 14:56:49 +08:00
sisungo
ccca821d4e
fix: remove stdckdint.h cplusplus code to reduce size
2026-02-22 14:19:26 +08:00
sisungo
1d717f1afd
feat: add C23 stdckdint.h
2026-02-22 14:05:01 +08:00
sisungo
8043aba13f
feat: rename weak in features.h to __weak
...
The internal `features.h` defines macro `weak`, and it prevents us porting
third-party code including the identifier.
2026-02-22 13:42:41 +08:00
sisungo
e7e10be26a
feat: support C11 atomics
2026-02-22 13:01:19 +08:00
sisungo
4bf55c3bce
feat: default to multilib library path
2026-02-19 10:17:36 +08:00
sisungo
ef7d225be7
feat: use the vm model for iconv
...
Musl uses hard-coded logic for iconv. This patch moves the logic
out of C code, and implement a virtual machine for dynamically loading
charsets at runtime and do conversion.
2026-02-19 09:29:41 +08:00
sisungo
b4c42c0be4
feat: move chroot() from linux/ to unistd/
...
chroot() exists in all UNIX-like systems in <unistd.h>. Moving
it helps porting semi-libc to other kernels.
2026-02-19 09:21:34 +08:00
sisungo
0f531e2cb8
feat: remove time32 support
...
The time32 support, in musl, is used to keep compatibility with old 32-bit
binaries. Our fork, though maintains ABI compatibility with musl libc,
but not legacy ones, so removing it.
2026-02-19 09:16:46 +08:00