zig/lib/libc
Alex Rønne Petersen 05d8b565ad wasi-libc: Deduplicate sources and headers with regards to upstream musl.
Unfortunately some duplicate files must remain in lib/libc/wasi/libc-top-half
because they include internal headers *in the same directory* which have edits
relative to upstream musl. Because C is an amazing language, there is no way to
make it so that e.g. upstream musl's src/stdio/fputc.c includes wasi-libc's
src/stdio/putc.h instead of the upstream putc.h. The preprocessor always
searches the current directory first for quote includes.

Anyway, this still takes us from 2.9M to 1.4M for the combination of
lib/libc/wasi and lib/libc/include/wasm-wasi-musl, so I still call it a win.
2025-02-21 09:23:50 +01:00
..
darwin macos: vendored libc: bump to SDK 15.1 2024-12-13 03:55:54 +01:00
glibc glibc: Update abilists file to 2.41. 2025-01-31 14:38:23 +01:00
include wasi-libc: Deduplicate sources and headers with regards to upstream musl. 2025-02-21 09:23:50 +01:00
mingw mingw: Add upstream RtlSecureZeroMemory implementation. 2025-01-14 05:31:14 +01:00
musl musl: Apply Rich Felker's CVE-2025-26519 mitigation patches. 2025-02-14 06:42:57 +01:00
wasi wasi-libc: Deduplicate sources and headers with regards to upstream musl. 2025-02-21 09:23:50 +01:00