mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 06:14:33 +00:00
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. |
||
|---|---|---|
| .. | ||
| arpa | ||
| bits | ||
| netinet | ||
| sys | ||
| wasi | ||
| __errno.h | ||
| __errno_values.h | ||
| __fd_set.h | ||
| __function___isatty.h | ||
| __functions_malloc.h | ||
| __functions_memcpy.h | ||
| __header_dirent.h | ||
| __header_fcntl.h | ||
| __header_inttypes.h | ||
| __header_netinet_in.h | ||
| __header_poll.h | ||
| __header_stdlib.h | ||
| __header_string.h | ||
| __header_sys_ioctl.h | ||
| __header_sys_resource.h | ||
| __header_sys_socket.h | ||
| __header_sys_stat.h | ||
| __header_time.h | ||
| __header_unistd.h | ||
| __macro_FD_SETSIZE.h | ||
| __macro_PAGESIZE.h | ||
| __mode_t.h | ||
| __seek.h | ||
| __struct_dirent.h | ||
| __struct_in6_addr.h | ||
| __struct_in_addr.h | ||
| __struct_iovec.h | ||
| __struct_msghdr.h | ||
| __struct_pollfd.h | ||
| __struct_rusage.h | ||
| __struct_sockaddr.h | ||
| __struct_sockaddr_in.h | ||
| __struct_sockaddr_in6.h | ||
| __struct_sockaddr_storage.h | ||
| __struct_sockaddr_un.h | ||
| __struct_stat.h | ||
| __struct_timespec.h | ||
| __struct_timeval.h | ||
| __struct_tm.h | ||
| __struct_tms.h | ||
| __typedef_blkcnt_t.h | ||
| __typedef_blksize_t.h | ||
| __typedef_clock_t.h | ||
| __typedef_clockid_t.h | ||
| __typedef_dev_t.h | ||
| __typedef_DIR.h | ||
| __typedef_fd_set.h | ||
| __typedef_gid_t.h | ||
| __typedef_in_addr_t.h | ||
| __typedef_in_port_t.h | ||
| __typedef_ino_t.h | ||
| __typedef_mode_t.h | ||
| __typedef_nfds_t.h | ||
| __typedef_nlink_t.h | ||
| __typedef_off_t.h | ||
| __typedef_sa_family_t.h | ||
| __typedef_sigset_t.h | ||
| __typedef_socklen_t.h | ||
| __typedef_ssize_t.h | ||
| __typedef_suseconds_t.h | ||
| __typedef_time_t.h | ||
| __typedef_uid_t.h | ||
| __wasi_snapshot.h | ||
| complex.h | ||
| dirent.h | ||
| dlfcn.h | ||
| errno.h | ||
| fcntl.h | ||
| fenv.h | ||
| float.h | ||
| ftw.h | ||
| glob.h | ||
| ifaddrs.h | ||
| inttypes.h | ||
| limits.h | ||
| locale.h | ||
| malloc.h | ||
| math.h | ||
| poll.h | ||
| sched.h | ||
| setjmp.h | ||
| signal.h | ||
| stdc-predef.h | ||
| stdio.h | ||
| stdlib.h | ||
| string.h | ||
| strings.h | ||
| time.h | ||
| unistd.h | ||
| wchar.h | ||