zig/lib/libc/wasi/libc-top-half/musl/include
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
..
arpa wasi-libc: Deduplicate sources and headers with regards to upstream musl. 2025-02-21 09:23:50 +01:00
netinet wasi-libc: Deduplicate sources and headers with regards to upstream musl. 2025-02-21 09:23:50 +01:00
sys wasi-libc: Deduplicate sources and headers with regards to upstream musl. 2025-02-21 09:23:50 +01:00
complex.h
dirent.h
dlfcn.h Update wasi-libc to d03829489904d38c624f6de9983190f1e5e7c9c5 2025-01-29 11:54:02 +01:00
errno.h
fcntl.h
float.h
ftw.h
glob.h
inttypes.h
limits.h Update wasi-libc to a00bf321eeeca836ee2a0d2d25aeb8524107b8cc (#13626) 2022-11-28 19:58:03 +01:00
locale.h Update the WASI libc 2022-06-14 23:20:39 +02:00
malloc.h
math.h
poll.h
sched.h
setjmp.h Update wasi-libc to d03829489904d38c624f6de9983190f1e5e7c9c5 2025-01-29 11:54:02 +01:00
signal.h Update the WASI libc 2022-06-14 23:20:39 +02:00
stdc-predef.h Update the WASI libc 2022-06-14 23:20:39 +02:00
stdio.h Update the WASI libc 2022-06-14 23:20:39 +02:00
stdlib.h Update wasi-libc to d03829489904d38c624f6de9983190f1e5e7c9c5 2025-01-29 11:54:02 +01:00
string.h Update the WASI libc 2022-06-14 23:20:39 +02:00
strings.h
time.h Update the WASI libc 2022-06-14 23:20:39 +02:00
unistd.h Update wasi-libc to a1c7c2c7a4b2813c6f67bd2ef6e0f430d31cebad 2023-01-10 17:14:27 -05:00
wchar.h Update the WASI libc 2022-06-14 23:20:39 +02:00