.builds/freebsd.yml | 3 + CMakeLists.txt | 21 +- CONTRIBUTING.md | 58 + README.md | 4 +- build.zig | 60 +- ci/azure/linux_script | 12 +- ci/azure/macos_script | 34 +- ci/azure/on_master_success | 12 + ci/azure/pipelines.yml | 22 +- ci/azure/update_download_page | 41 - ci/azure/windows_install | 2 +- ci/azure/windows_script.bat | 11 +- ci/azure/windows_upload | 2 +- ci/drone/drone.yml | 19 + ci/drone/linux_script | 70 + ci/srht/freebsd_script | 18 +- ci/srht/on_master_success | 39 + ci/srht/update_download_page | 79 + cmake/c_flag_overrides.cmake | 13 + cmake/cxx_flag_overrides.cmake | 13 + doc/docgen.zig | 333 +- doc/langref.html.in | 1446 ++--- lib/libc/glibc/LICENSES | 391 ++ lib/libc/include/aarch64-linux-musl/bits/hwcap.h | 10 +- lib/libc/include/aarch64-linux-musl/bits/ipc.h | 14 - lib/libc/include/aarch64-linux-musl/bits/limits.h | 7 - lib/libc/include/aarch64-linux-musl/bits/posix.h | 2 - lib/libc/include/aarch64-linux-musl/bits/reg.h | 2 - lib/libc/include/aarch64-linux-musl/bits/sem.h | 14 - lib/libc/include/aarch64-linux-musl/bits/stat.h | 18 - lib/libc/include/aarch64-linux-musl/bits/syscall.h | 14 +- lib/libc/include/any-windows-any/intrin.h | 2 +- lib/libc/include/arm-linux-musl/bits/limits.h | 7 + lib/libc/include/arm-linux-musl/bits/posix.h | 2 + lib/libc/include/arm-linux-musl/bits/reg.h | 3 + lib/libc/include/arm-linux-musl/bits/sem.h | 16 + lib/libc/include/arm-linux-musl/bits/stat.h | 21 + lib/libc/include/arm-linux-musl/bits/syscall.h | 14 +- lib/libc/include/generic-musl/bits/ipc.h | 4 +- lib/libc/include/generic-musl/bits/ipcstat.h | 1 + lib/libc/include/generic-musl/bits/limits.h | 4 +- lib/libc/include/generic-musl/bits/msg.h | 3 +- lib/libc/include/generic-musl/bits/posix.h | 4 +- lib/libc/include/generic-musl/bits/reg.h | 3 +- lib/libc/include/generic-musl/bits/sem.h | 10 +- lib/libc/include/generic-musl/bits/stat.h | 11 +- lib/libc/include/generic-musl/fcntl.h | 5 + lib/libc/include/generic-musl/glob.h | 3 + lib/libc/include/generic-musl/netinet/if_ether.h | 1 + lib/libc/include/generic-musl/sched.h | 11 +- lib/libc/include/generic-musl/spawn.h | 5 + lib/libc/include/generic-musl/stdlib.h | 1 + lib/libc/include/generic-musl/sys/ipc.h | 2 +- lib/libc/include/generic-musl/sys/msg.h | 4 +- lib/libc/include/generic-musl/sys/sem.h | 4 +- lib/libc/include/generic-musl/sys/shm.h | 4 +- lib/libc/include/generic-musl/unistd.h | 2 + lib/libc/include/i386-linux-musl/bits/posix.h | 2 + lib/libc/include/i386-linux-musl/bits/sem.h | 11 + lib/libc/include/i386-linux-musl/bits/stat.h | 21 + lib/libc/include/i386-linux-musl/bits/syscall.h | 14 +- lib/libc/include/mips-linux-musl/bits/limits.h | 7 + lib/libc/include/mips-linux-musl/bits/posix.h | 2 + lib/libc/include/mips-linux-musl/bits/sem.h | 14 - lib/libc/include/mips-linux-musl/bits/syscall.h | 14 +- lib/libc/include/mips64-linux-musl/bits/ipc.h | 4 +- lib/libc/include/mips64-linux-musl/bits/sem.h | 14 - lib/libc/include/mips64-linux-musl/bits/stat.h | 3 - lib/libc/include/mips64-linux-musl/bits/syscall.h | 14 +- lib/libc/include/powerpc-linux-musl/bits/alltypes.h | 8 + lib/libc/include/powerpc-linux-musl/bits/ipc.h | 4 +- lib/libc/include/powerpc-linux-musl/bits/limits.h | 7 + lib/libc/include/powerpc-linux-musl/bits/posix.h | 2 + lib/libc/include/powerpc-linux-musl/bits/reg.h | 3 + lib/libc/include/powerpc-linux-musl/bits/syscall.h | 14 +- lib/libc/include/powerpc-linux-musl/bits/user.h | 10 +- lib/libc/include/powerpc64-linux-musl/bits/ipc.h | 4 +- lib/libc/include/powerpc64-linux-musl/bits/limits.h | 7 - lib/libc/include/powerpc64-linux-musl/bits/msg.h | 12 - lib/libc/include/powerpc64-linux-musl/bits/posix.h | 2 - lib/libc/include/powerpc64-linux-musl/bits/sem.h | 13 - lib/libc/include/powerpc64-linux-musl/bits/syscall.h | 14 +- lib/libc/include/powerpc64-linux-musl/bits/user.h | 10 +- lib/libc/include/riscv64-linux-musl/bits/ipc.h | 14 - lib/libc/include/riscv64-linux-musl/bits/limits.h | 7 - lib/libc/include/riscv64-linux-musl/bits/sem.h | 9 - lib/libc/include/riscv64-linux-musl/bits/shm.h | 25 - lib/libc/include/riscv64-linux-musl/bits/signal.h | 57 +- lib/libc/include/riscv64-linux-musl/bits/stat.h | 18 - lib/libc/include/riscv64-linux-musl/bits/syscall.h | 29 + lib/libc/include/riscv64-linux-musl/bits/user.h | 42 +- lib/libc/include/s390x-linux-musl/bits/ipc.h | 14 - lib/libc/include/s390x-linux-musl/bits/msg.h | 12 - lib/libc/include/s390x-linux-musl/bits/posix.h | 2 - lib/libc/include/s390x-linux-musl/bits/reg.h | 2 - lib/libc/include/s390x-linux-musl/bits/sem.h | 7 - lib/libc/include/s390x-linux-musl/bits/syscall.h | 14 +- lib/libc/include/x86_64-linux-musl/bits/ipc.h | 13 - lib/libc/include/x86_64-linux-musl/bits/msg.h | 12 - lib/libc/include/x86_64-linux-musl/bits/posix.h | 2 - lib/libc/include/x86_64-linux-musl/bits/sem.h | 11 + lib/libc/include/x86_64-linux-musl/bits/syscall.h | 14 +- lib/libc/mingw/COPYING | 43 + lib/libc/mingw/lib-common/bcrypt.def | 65 + lib/libc/mingw/lib-common/comctl32.def | 125 + lib/libc/mingw/lib-common/comdlg32.def | 34 + lib/libc/mingw/lib-common/crypt32.def | 300 + lib/libc/mingw/lib-common/cryptnet.def | 23 + lib/libc/mingw/lib-common/lz32.def | 22 + lib/libc/mingw/lib-common/mpr.def | 94 + lib/libc/mingw/lib-common/ncrypt.def | 137 + lib/libc/mingw/lib-common/netapi32.def | 386 ++ lib/libc/mingw/lib-common/rpcns4.def | 71 + lib/libc/mingw/lib-common/rpcrt4.def | 577 ++ lib/libc/mingw/lib-common/scarddlg.def | 15 + lib/libc/mingw/lib-common/winscard.def | 84 + lib/libc/mingw/lib-common/winspool.def | 212 + lib/libc/mingw/lib-common/ws2_32.def.in | 200 + lib/libc/mingw/lib32/advapi32.def | 823 +++ lib/libc/mingw/lib32/bcrypt.def | 67 + lib/libc/mingw/lib32/comctl32.def | 119 + lib/libc/mingw/lib32/comdlg32.def | 27 + lib/libc/mingw/lib32/crypt32.def | 314 ++ lib/libc/mingw/lib32/cryptnet.def | 26 + lib/libc/mingw/lib32/gdi32.def | 376 ++ lib/libc/mingw/lib32/imm32.def | 136 + lib/libc/mingw/lib32/kernel32.def | 1660 ++++++ lib/libc/mingw/lib32/lz32.def | 14 + lib/libc/mingw/lib32/mpr.def | 72 + lib/libc/mingw/lib32/mswsock.def | 28 + lib/libc/mingw/lib32/ncrypt.def | 61 + lib/libc/mingw/lib32/netapi32.def | 413 ++ lib/libc/mingw/lib32/ole32.def | 405 ++ lib/libc/mingw/lib32/oleaut32.def | 427 ++ lib/libc/mingw/lib32/opengl32.def | 370 ++ lib/libc/mingw/lib32/rpcns4.def | 70 + lib/libc/mingw/lib32/rpcrt4.def | 568 ++ lib/libc/mingw/lib32/shell32.def | 356 ++ lib/libc/mingw/lib32/urlmon.def | 230 + lib/libc/mingw/lib32/winmm.def | 196 + lib/libc/mingw/lib32/winscard.def | 75 + lib/libc/mingw/lib32/winspool.def | 207 + lib/libc/mingw/lib32/wintrust.def | 137 + lib/libc/mingw/lib32/ws2_32.def | 174 + lib/libc/mingw/lib64/mswsock.def | 40 + lib/libc/mingw/lib64/opengl32.def | 376 ++ lib/libc/mingw/lib64/urlmon.def | 96 + lib/libc/mingw/lib64/wintrust.def | 136 + lib/libc/mingw/libarm32/mswsock.def | 70 + lib/libc/mingw/libarm32/urlmon.def | 292 + lib/libc/mingw/libarm32/wintrust.def | 150 + lib/libc/musl/COPYRIGHT | 190 + lib/libc/musl/arch/aarch64/bits/hwcap.h | 8 + lib/libc/musl/arch/aarch64/bits/ipc.h | 14 - lib/libc/musl/arch/aarch64/bits/msg.h | 13 - lib/libc/musl/arch/aarch64/bits/sem.h | 14 - lib/libc/musl/arch/aarch64/bits/shm.h | 24 - lib/libc/musl/arch/aarch64/bits/syscall.h.in | 6 + lib/libc/musl/arch/aarch64/kstat.h | 21 + lib/libc/musl/arch/aarch64/syscall_arch.h | 2 + lib/libc/musl/arch/arm/bits/ipcstat.h | 1 + lib/libc/musl/arch/arm/bits/msg.h | 15 + lib/libc/musl/arch/arm/bits/sem.h | 16 + lib/libc/musl/arch/arm/bits/shm.h | 27 + lib/libc/musl/arch/arm/bits/syscall.h.in | 6 + lib/libc/musl/arch/arm/kstat.h | 21 + lib/libc/musl/arch/generic/bits/ipc.h | 2 - lib/libc/musl/arch/generic/bits/ipcstat.h | 1 + lib/libc/musl/arch/generic/bits/msg.h | 3 - lib/libc/musl/arch/generic/bits/sem.h | 10 +- lib/libc/musl/arch/generic/bits/shm.h | 4 - lib/libc/musl/arch/i386/bits/ipcstat.h | 1 + lib/libc/musl/arch/i386/bits/msg.h | 15 + lib/libc/musl/arch/i386/bits/sem.h | 11 + lib/libc/musl/arch/i386/bits/shm.h | 27 + lib/libc/musl/arch/i386/bits/syscall.h.in | 6 + lib/libc/musl/arch/i386/kstat.h | 21 + lib/libc/musl/arch/mips/bits/ipcstat.h | 1 + lib/libc/musl/arch/mips/bits/sem.h | 8 +- lib/libc/musl/arch/mips/bits/shm.h | 1 - lib/libc/musl/arch/mips/bits/syscall.h.in | 6 + lib/libc/musl/arch/mips/kstat.h | 22 + lib/libc/musl/arch/mips/syscall_arch.h | 140 +- lib/libc/musl/arch/mips64/bits/ipc.h | 2 - lib/libc/musl/arch/mips64/bits/msg.h | 13 - lib/libc/musl/arch/mips64/bits/sem.h | 14 - lib/libc/musl/arch/mips64/bits/shm.h | 24 - lib/libc/musl/arch/mips64/bits/stat.h | 3 - lib/libc/musl/arch/mips64/bits/syscall.h.in | 6 + lib/libc/musl/arch/mips64/kstat.h | 21 + lib/libc/musl/arch/mips64/syscall_arch.h | 212 +- lib/libc/musl/arch/powerpc/bits/alltypes.h.in | 4 + lib/libc/musl/arch/powerpc/bits/ipc.h | 3 - lib/libc/musl/arch/powerpc/bits/ipcstat.h | 1 + lib/libc/musl/arch/powerpc/bits/shm.h | 1 - lib/libc/musl/arch/powerpc/bits/syscall.h.in | 6 + lib/libc/musl/arch/powerpc/bits/user.h | 10 +- lib/libc/musl/arch/powerpc/kstat.h | 20 + lib/libc/musl/arch/powerpc/reloc.h | 1 + lib/libc/musl/arch/powerpc/syscall_arch.h | 3 + lib/libc/musl/arch/powerpc64/bits/ipc.h | 3 - lib/libc/musl/arch/powerpc64/bits/msg.h | 12 - lib/libc/musl/arch/powerpc64/bits/sem.h | 13 - lib/libc/musl/arch/powerpc64/bits/shm.h | 1 - lib/libc/musl/arch/powerpc64/bits/syscall.h.in | 6 + lib/libc/musl/arch/powerpc64/bits/user.h | 10 +- lib/libc/musl/arch/powerpc64/kstat.h | 19 + lib/libc/musl/arch/powerpc64/reloc.h | 1 + lib/libc/musl/arch/powerpc64/syscall_arch.h | 3 + lib/libc/musl/arch/riscv64/atomic_arch.h | 4 +- lib/libc/musl/arch/riscv64/bits/ipc.h | 14 - lib/libc/musl/arch/riscv64/bits/msg.h | 13 - lib/libc/musl/arch/riscv64/bits/sem.h | 9 - lib/libc/musl/arch/riscv64/bits/shm.h | 25 - lib/libc/musl/arch/riscv64/bits/signal.h | 57 +- lib/libc/musl/arch/riscv64/bits/syscall.h.in | 15 + lib/libc/musl/arch/riscv64/bits/user.h | 42 +- lib/libc/musl/arch/riscv64/kstat.h | 21 + lib/libc/musl/arch/riscv64/pthread_arch.h | 2 +- lib/libc/musl/arch/riscv64/syscall_arch.h | 2 + lib/libc/musl/arch/s390x/bits/ipc.h | 14 - lib/libc/musl/arch/s390x/bits/msg.h | 12 - lib/libc/musl/arch/s390x/bits/sem.h | 7 - lib/libc/musl/arch/s390x/bits/shm.h | 25 - lib/libc/musl/arch/s390x/bits/syscall.h.in | 6 + lib/libc/musl/arch/s390x/kstat.h | 19 + lib/libc/musl/arch/x86_64/bits/ipc.h | 13 - lib/libc/musl/arch/x86_64/bits/msg.h | 12 - lib/libc/musl/arch/x86_64/bits/sem.h | 11 + lib/libc/musl/arch/x86_64/bits/shm.h | 25 - lib/libc/musl/arch/x86_64/bits/syscall.h.in | 6 + lib/libc/musl/arch/x86_64/kstat.h | 22 + lib/libc/musl/arch/x86_64/syscall_arch.h | 2 + lib/libc/musl/include/fcntl.h | 5 + lib/libc/musl/include/glob.h | 3 + lib/libc/musl/include/netinet/if_ether.h | 1 + lib/libc/musl/include/sched.h | 11 +- lib/libc/musl/include/spawn.h | 5 + lib/libc/musl/include/stdlib.h | 1 + lib/libc/musl/include/sys/ipc.h | 2 +- lib/libc/musl/include/sys/msg.h | 4 +- lib/libc/musl/include/sys/sem.h | 4 +- lib/libc/musl/include/sys/shm.h | 4 +- lib/libc/musl/include/unistd.h | 2 + lib/libc/musl/src/env/secure_getenv.c | 8 + lib/libc/musl/src/include/time.h | 1 + lib/libc/musl/src/include/unistd.h | 1 + lib/libc/musl/src/internal/dynlink.h | 1 + lib/libc/musl/src/internal/pthread_impl.h | 1 - lib/libc/musl/src/internal/syscall.h | 109 +- lib/libc/musl/src/internal/version.h | 2 +- lib/libc/musl/src/ipc/ipc.h | 12 + lib/libc/musl/src/ipc/msgctl.c | 13 +- lib/libc/musl/src/ipc/semctl.c | 21 +- lib/libc/musl/src/ipc/semtimedop.c | 26 +- lib/libc/musl/src/ipc/shmctl.c | 13 +- lib/libc/musl/src/ldso/aarch64/tlsdesc.s | 6 +- lib/libc/musl/src/ldso/arm/tlsdesc.S | 6 +- lib/libc/musl/src/ldso/i386/tlsdesc.s | 2 - lib/libc/musl/src/ldso/x86_64/tlsdesc.s | 2 - lib/libc/musl/src/linux/adjtime.c | 2 +- lib/libc/musl/src/linux/adjtimex.c | 4 +- lib/libc/musl/src/linux/clock_adjtime.c | 112 + lib/libc/musl/src/linux/copy_file_range.c | 8 + lib/libc/musl/src/linux/ppoll.c | 18 +- lib/libc/musl/src/linux/settimeofday.c | 7 +- lib/libc/musl/src/linux/timerfd.c | 42 + lib/libc/musl/src/locale/catclose.c | 8 + lib/libc/musl/src/locale/catgets.c | 34 +- lib/libc/musl/src/locale/catopen.c | 75 +- lib/libc/musl/src/math/i386/asin.s | 10 +- lib/libc/musl/src/math/i386/atan.s | 7 +- lib/libc/musl/src/math/i386/atan2.s | 3 - lib/libc/musl/src/math/i386/atan2f.s | 3 - lib/libc/musl/src/math/i386/atanf.s | 7 +- lib/libc/musl/src/math/i386/exp.s | 10 +- lib/libc/musl/src/math/i386/log1p.s | 7 +- lib/libc/musl/src/math/i386/log1pf.s | 7 +- lib/libc/musl/src/math/lrint.c | 28 +- lib/libc/musl/src/math/sqrt.c | 3 +- lib/libc/musl/src/math/sqrtf.c | 3 +- lib/libc/musl/src/misc/getopt.c | 1 + lib/libc/musl/src/misc/ioctl.c | 25 +- lib/libc/musl/src/mq/mq_timedreceive.c | 17 + lib/libc/musl/src/mq/mq_timedsend.c | 17 + lib/libc/musl/src/multibyte/mbsrtowcs.c | 10 +- lib/libc/musl/src/network/getsockopt.c | 27 +- lib/libc/musl/src/network/recvmmsg.c | 18 + lib/libc/musl/src/network/setsockopt.c | 32 +- lib/libc/musl/src/process/fdop.h | 2 + lib/libc/musl/src/process/posix_spawn.c | 8 + lib/libc/musl/src/process/posix_spawn_file_actions_addchdir.c | 18 + lib/libc/musl/src/process/posix_spawn_file_actions_addfchdir.c | 17 + lib/libc/musl/src/regex/glob.c | 59 +- lib/libc/musl/src/sched/sched_rr_get_interval.c | 14 + lib/libc/musl/src/select/pselect.c | 20 +- lib/libc/musl/src/select/select.c | 45 +- lib/libc/musl/src/signal/getitimer.c | 11 + lib/libc/musl/src/signal/setitimer.c | 19 + lib/libc/musl/src/signal/sigaction.c | 2 +- lib/libc/musl/src/signal/sigtimedwait.c | 28 +- lib/libc/musl/src/signal/x32/getitimer.c | 7 + lib/libc/musl/src/signal/x32/setitimer.c | 7 + lib/libc/musl/src/stat/fstat.c | 14 +- lib/libc/musl/src/stat/fstatat.c | 124 +- lib/libc/musl/src/stat/lstat.c | 7 +- lib/libc/musl/src/stat/stat.c | 7 +- lib/libc/musl/src/stat/utimensat.c | 43 +- lib/libc/musl/src/stdio/__stdio_seek.c | 10 +- lib/libc/musl/src/stdio/vfwprintf.c | 2 + lib/libc/musl/src/thread/__timedwait.c | 24 +- lib/libc/musl/src/thread/arm/atomics.s | 4 +- lib/libc/musl/src/thread/arm/clone.s | 10 +- lib/libc/musl/src/thread/arm/syscall_cp.s | 8 +- lib/libc/musl/src/thread/pthread_create.c | 57 +- lib/libc/musl/src/thread/pthread_join.c | 1 + lib/libc/musl/src/thread/pthread_mutex_timedlock.c | 20 +- lib/libc/musl/src/thread/thrd_sleep.c | 3 +- lib/libc/musl/src/thread/x32/syscall_cp.s | 8 +- lib/libc/musl/src/thread/x32/syscall_cp_fixup.c | 39 - lib/libc/musl/src/time/clock_getres.c | 14 + lib/libc/musl/src/time/clock_gettime.c | 52 + lib/libc/musl/src/time/clock_nanosleep.c | 35 +- lib/libc/musl/src/time/clock_settime.c | 17 + lib/libc/musl/src/time/nanosleep.c | 2 +- lib/libc/musl/src/time/timer_create.c | 4 +- lib/libc/musl/src/time/timer_gettime.c | 16 + lib/libc/musl/src/time/timer_settime.c | 25 + lib/libc/musl/src/unistd/alarm.c | 6 +- lib/libc/musl/src/unistd/lseek.c | 5 +- lib/libc/musl/src/unistd/mipsn32/lseek.c | 20 + lib/libc/musl/src/unistd/x32/lseek.c | 15 + lib/libcxx/LICENSE.TXT | 311 + lib/std/array_list.zig | 145 +- lib/std/ascii.zig | 22 +- lib/std/atomic/queue.zig | 31 +- lib/std/atomic/stack.zig | 21 +- lib/std/bloom_filter.zig | 28 +- lib/std/buf_map.zig | 2 +- lib/std/buf_set.zig | 2 +- lib/std/buffer.zig | 59 +- lib/std/build.zig | 1165 ++-- lib/std/build/check_file.zig | 52 + lib/std/build/run.zig | 302 + lib/std/build/translate_c.zig | 87 + lib/std/build/write_file.zig | 94 + lib/std/builtin.zig | 475 ++ lib/std/c.zig | 134 +- lib/std/c/darwin.zig | 78 +- lib/std/c/dragonfly.zig | 25 + lib/std/c/emscripten.zig | 8 + lib/std/c/freebsd.zig | 86 + lib/std/c/fuchsia.zig | 8 + lib/std/c/haiku.zig | 14 + lib/std/c/hermit.zig | 6 + lib/std/c/linux.zig | 67 + lib/std/c/minix.zig | 18 + lib/std/c/netbsd.zig | 29 + lib/std/c/openbsd.zig | 6 + lib/std/c/solaris.zig | 15 + lib/std/child_process.zig | 246 +- lib/std/coff.zig | 8 +- lib/std/crypto.zig | 5 + lib/std/crypto/aes.zig | 649 +++ lib/std/crypto/benchmark.zig | 24 +- lib/std/crypto/blake2.zig | 20 +- lib/std/crypto/chacha20.zig | 225 +- lib/std/crypto/gimli.zig | 16 +- lib/std/crypto/md5.zig | 10 +- lib/std/crypto/poly1305.zig | 14 +- lib/std/crypto/sha1.zig | 32 +- lib/std/crypto/sha2.zig | 42 +- lib/std/crypto/sha3.zig | 6 +- lib/std/crypto/test.zig | 4 +- lib/std/crypto/x25519.zig | 94 +- lib/std/cstr.zig | 24 +- lib/std/debug.zig | 1248 ++-- lib/std/debug/failing_allocator.zig | 16 + lib/std/debug/leb128.zig | 6 +- lib/std/dynamic_library.zig | 113 +- lib/std/elf.zig | 749 ++- lib/std/event.zig | 2 - lib/std/event/channel.zig | 149 +- lib/std/event/fs.zig | 1431 +++-- lib/std/event/future.zig | 50 +- lib/std/event/group.zig | 68 +- lib/std/event/lock.zig | 48 +- lib/std/event/locked.zig | 7 +- lib/std/event/loop.zig | 197 +- lib/std/event/net.zig | 358 -- lib/std/event/rwlock.zig | 90 +- lib/std/event/rwlocked.zig | 9 +- lib/std/fifo.zig | 441 ++ lib/std/fmt.zig | 523 +- lib/std/fmt/errol.zig | 4 +- lib/std/fmt/parse_float.zig | 24 +- lib/std/fs.zig | 1463 +++-- lib/std/fs/file.zig | 206 +- lib/std/fs/get_app_data_dir.zig | 18 +- lib/std/fs/path.zig | 232 +- lib/std/hash.zig | 2 + lib/std/hash/auto_hash.zig | 35 +- lib/std/hash/benchmark.zig | 23 +- lib/std/hash/cityhash.zig | 33 +- lib/std/hash/crc.zig | 8 +- lib/std/hash/murmur.zig | 30 +- lib/std/hash/siphash.zig | 289 +- lib/std/hash/wyhash.zig | 6 +- lib/std/hash_map.zig | 28 +- lib/std/heap.zig | 361 +- lib/std/heap/logging_allocator.zig | 29 +- lib/std/http/headers.zig | 85 +- lib/std/io.zig | 274 +- lib/std/io/in_stream.zig | 82 +- lib/std/io/out_stream.zig | 87 + lib/std/io/seekable_stream.zig | 4 +- lib/std/io/test.zig | 124 +- lib/std/json.zig | 1237 ++-- lib/std/json/test.zig | 140 +- lib/std/json/write_stream.zig | 308 + lib/std/lazy_init.zig | 26 +- lib/std/math.zig | 393 +- lib/std/math/acos.zig | 8 +- lib/std/math/acosh.zig | 8 +- lib/std/math/asin.zig | 8 +- lib/std/math/asinh.zig | 8 +- lib/std/math/atan.zig | 8 +- lib/std/math/atanh.zig | 8 +- lib/std/math/big/int.zig | 227 +- lib/std/math/big/rational.zig | 8 - lib/std/math/cbrt.zig | 14 +- lib/std/math/ceil.zig | 10 +- lib/std/math/complex.zig | 8 +- lib/std/math/complex/abs.zig | 4 +- lib/std/math/complex/acos.zig | 6 +- lib/std/math/complex/acosh.zig | 4 +- lib/std/math/complex/arg.zig | 4 +- lib/std/math/complex/asin.zig | 4 +- lib/std/math/complex/asinh.zig | 4 +- lib/std/math/complex/atan.zig | 8 +- lib/std/math/complex/atanh.zig | 4 +- lib/std/math/complex/conj.zig | 4 +- lib/std/math/complex/cos.zig | 4 +- lib/std/math/complex/cosh.zig | 8 +- lib/std/math/complex/exp.zig | 8 +- lib/std/math/complex/ldexp.zig | 8 +- lib/std/math/complex/log.zig | 4 +- lib/std/math/complex/proj.zig | 4 +- lib/std/math/complex/sin.zig | 4 +- lib/std/math/complex/sinh.zig | 8 +- lib/std/math/complex/sqrt.zig | 8 +- lib/std/math/complex/tan.zig | 4 +- lib/std/math/complex/tanh.zig | 10 +- lib/std/math/copysign.zig | 6 +- lib/std/math/cos.zig | 12 +- lib/std/math/cosh.zig | 8 +- lib/std/math/exp.zig | 10 +- lib/std/math/exp2.zig | 10 +- lib/std/math/expm1.zig | 8 +- lib/std/math/expo2.zig | 6 +- lib/std/math/fabs.zig | 12 +- lib/std/math/floor.zig | 14 +- lib/std/math/fma.zig | 2 +- lib/std/math/frexp.zig | 8 +- lib/std/math/hypot.zig | 2 +- lib/std/math/ilogb.zig | 8 +- lib/std/math/isfinite.zig | 14 +- lib/std/math/isinf.zig | 54 +- lib/std/math/isnan.zig | 8 +- lib/std/math/isnormal.zig | 14 +- lib/std/math/ln.zig | 16 +- lib/std/math/log.zig | 14 +- lib/std/math/log10.zig | 16 +- lib/std/math/log1p.zig | 10 +- lib/std/math/log2.zig | 14 +- lib/std/math/modf.zig | 12 +- lib/std/math/pow.zig | 12 - lib/std/math/round.zig | 8 +- lib/std/math/scalbn.zig | 8 +- lib/std/math/signbit.zig | 8 +- lib/std/math/sin.zig | 30 +- lib/std/math/sinh.zig | 8 +- lib/std/math/sqrt.zig | 96 +- lib/std/math/tan.zig | 12 +- lib/std/math/tanh.zig | 8 +- lib/std/math/trunc.zig | 12 +- lib/std/mem.zig | 318 +- lib/std/meta.zig | 48 +- lib/std/meta/trait.zig | 63 +- lib/std/mutex.zig | 314 +- lib/std/net.zig | 1491 ++++- lib/std/net/test.zig | 122 + lib/std/os.zig | 1453 +++-- lib/std/os/bits.zig | 11 +- lib/std/os/bits/darwin.zig | 71 +- lib/std/os/bits/dragonfly.zig | 696 +++ lib/std/os/bits/freebsd.zig | 660 ++- lib/std/os/bits/linux.zig | 324 +- lib/std/os/bits/linux/arm-eabi.zig | 28 +- lib/std/os/bits/linux/arm64.zig | 1 - lib/std/os/bits/linux/i386.zig | 642 +++ lib/std/os/bits/linux/mipsel.zig | 2 +- lib/std/os/bits/linux/x86_64.zig | 1 - lib/std/os/bits/netbsd.zig | 179 +- lib/std/os/bits/wasi.zig | 8 +- lib/std/os/bits/windows.zig | 66 + lib/std/os/darwin.zig | 4 - lib/std/os/dragonfly.zig | 3 + lib/std/os/freebsd.zig | 2 - lib/std/os/linux.zig | 452 +- lib/std/os/linux/arm-eabi.zig | 17 +- lib/std/os/linux/arm64.zig | 4 +- lib/std/os/linux/i386.zig | 119 + lib/std/os/linux/mipsel.zig | 27 +- lib/std/os/linux/riscv64.zig | 4 +- lib/std/os/linux/test.zig | 31 + lib/std/os/linux/tls.zig | 31 +- lib/std/os/linux/vdso.zig | 10 +- lib/std/os/linux/x86_64.zig | 4 +- lib/std/os/netbsd.zig | 2 - lib/std/os/test.zig | 54 +- lib/std/os/uefi.zig | 67 +- lib/std/os/uefi/protocols.zig | 45 + lib/std/os/uefi/protocols/absolute_pointer_protocol.zig | 12 +- lib/std/os/uefi/protocols/device_path_protocol.zig | 17 + lib/std/os/uefi/protocols/edid_active_protocol.zig | 2 +- lib/std/os/uefi/protocols/edid_discovered_protocol.zig | 2 +- lib/std/os/uefi/protocols/edid_override_protocol.zig | 3 +- lib/std/os/uefi/protocols/graphics_output_protocol.zig | 5 +- lib/std/os/uefi/protocols/hii.zig | 4 + lib/std/os/uefi/protocols/hii_database_protocol.zig | 5 + lib/std/os/uefi/protocols/hii_popup_protocol.zig | 2 + lib/std/os/uefi/protocols/ip6_config_protocol.zig | 45 + lib/std/os/uefi/protocols/ip6_protocol.zig | 143 + lib/std/os/uefi/protocols/ip6_service_binding_protocol.zig | 25 + lib/std/os/uefi/protocols/loaded_image_protocol.zig | 36 + lib/std/os/uefi/protocols/managed_network_protocol.zig | 126 + lib/std/os/uefi/protocols/managed_network_service_binding_protocol.zig | 25 + lib/std/os/uefi/protocols/rng_protocol.zig | 4 +- lib/std/os/uefi/protocols/simple_network_protocol.zig | 172 + lib/std/os/uefi/protocols/simple_pointer_protocol.zig | 4 +- lib/std/os/uefi/protocols/simple_text_input_ex_protocol.zig | 7 +- lib/std/os/uefi/protocols/simple_text_input_protocol.zig | 29 + lib/std/os/uefi/protocols/simple_text_output_protocol.zig | 19 +- lib/std/os/uefi/protocols/udp6_protocol.zig | 112 + lib/std/os/uefi/protocols/udp6_service_binding_protocol.zig | 25 + lib/std/os/uefi/status.zig | 80 +- lib/std/os/uefi/tables.zig | 3 + lib/std/os/uefi/tables/boot_services.zig | 107 +- lib/std/os/uefi/tables/configuration_table.zig | 2 - lib/std/os/uefi/tables/runtime_services.zig | 25 +- lib/std/os/uefi/tables/system_table.zig | 12 +- lib/std/os/uefi/tables/table_header.zig | 3 +- lib/std/os/wasi.zig | 16 +- lib/std/os/windows.zig | 296 +- lib/std/os/windows/advapi32.zig | 10 +- lib/std/os/windows/bits.zig | 330 +- lib/std/os/windows/kernel32.zig | 220 +- lib/std/os/windows/ntdll.zig | 67 +- lib/std/os/windows/ole32.zig | 8 +- lib/std/os/windows/shell32.zig | 2 +- lib/std/os/windows/status.zig | 1665 ++++++ lib/std/os/windows/ws2_32.zig | 401 ++ lib/std/os/zen.zig | 260 - lib/std/packed_int_array.zig | 64 +- lib/std/pdb.zig | 11 +- lib/std/priority_queue.zig | 139 +- lib/std/process.zig | 26 +- lib/std/progress.zig | 255 + lib/std/rand.zig | 18 +- lib/std/rand/ziggurat.zig | 2 +- lib/std/rb.zig | 38 +- lib/std/reset_event.zig | 436 ++ lib/std/segmented_list.zig | 28 +- lib/std/sort.zig | 254 +- lib/std/special/build_runner.zig | 123 +- lib/std/special/c.zig | 160 +- lib/std/special/compiler_rt.zig | 1782 +----- lib/std/special/compiler_rt/addXf3.zig | 58 +- lib/std/special/compiler_rt/addXf3_test.zig | 8 +- lib/std/special/compiler_rt/arm.zig | 128 + lib/std/special/compiler_rt/arm/aeabi_dcmp.zig | 33 +- lib/std/special/compiler_rt/arm/aeabi_fcmp.zig | 33 +- lib/std/special/compiler_rt/ashlti3.zig | 2 +- lib/std/special/compiler_rt/ashrti3.zig | 2 +- lib/std/special/compiler_rt/ashrti3_test.zig | 4 +- lib/std/special/compiler_rt/aulldiv.zig | 123 +- lib/std/special/compiler_rt/aullrem.zig | 125 +- lib/std/special/compiler_rt/comparedf2.zig | 39 +- lib/std/special/compiler_rt/comparesf2.zig | 39 +- lib/std/special/compiler_rt/comparetf2.zig | 26 +- lib/std/special/compiler_rt/divdf3.zig | 73 +- lib/std/special/compiler_rt/divsf3.zig | 29 +- lib/std/special/compiler_rt/divti3.zig | 9 +- lib/std/special/compiler_rt/divti3_test.zig | 8 +- lib/std/special/compiler_rt/extendXfYf2.zig | 40 +- lib/std/special/compiler_rt/extendXfYf2_test.zig | 14 +- lib/std/special/compiler_rt/fixdfdi.zig | 7 +- lib/std/special/compiler_rt/fixdfdi_test.zig | 4 +- lib/std/special/compiler_rt/fixdfsi.zig | 7 +- lib/std/special/compiler_rt/fixdfsi_test.zig | 4 +- lib/std/special/compiler_rt/fixdfti.zig | 2 +- lib/std/special/compiler_rt/fixdfti_test.zig | 4 +- lib/std/special/compiler_rt/fixint.zig | 6 +- lib/std/special/compiler_rt/fixint_test.zig | 28 +- lib/std/special/compiler_rt/fixsfdi.zig | 7 +- lib/std/special/compiler_rt/fixsfdi_test.zig | 4 +- lib/std/special/compiler_rt/fixsfsi.zig | 7 +- lib/std/special/compiler_rt/fixsfsi_test.zig | 4 +- lib/std/special/compiler_rt/fixsfti.zig | 2 +- lib/std/special/compiler_rt/fixsfti_test.zig | 4 +- lib/std/special/compiler_rt/fixtfdi.zig | 2 +- lib/std/special/compiler_rt/fixtfdi_test.zig | 4 +- lib/std/special/compiler_rt/fixtfsi.zig | 2 +- lib/std/special/compiler_rt/fixtfsi_test.zig | 4 +- lib/std/special/compiler_rt/fixtfti.zig | 2 +- lib/std/special/compiler_rt/fixtfti_test.zig | 4 +- lib/std/special/compiler_rt/fixuint.zig | 8 +- lib/std/special/compiler_rt/fixunsdfdi.zig | 7 +- lib/std/special/compiler_rt/fixunsdfsi.zig | 7 +- lib/std/special/compiler_rt/fixunsdfti.zig | 2 +- lib/std/special/compiler_rt/fixunssfdi.zig | 7 +- lib/std/special/compiler_rt/fixunssfsi.zig | 7 +- lib/std/special/compiler_rt/fixunssfti.zig | 2 +- lib/std/special/compiler_rt/fixunstfdi.zig | 2 +- lib/std/special/compiler_rt/fixunstfsi.zig | 2 +- lib/std/special/compiler_rt/fixunstfsi_test.zig | 2 +- lib/std/special/compiler_rt/fixunstfti.zig | 2 +- lib/std/special/compiler_rt/fixunstfti_test.zig | 2 +- lib/std/special/compiler_rt/floatdidf.zig | 7 +- lib/std/special/compiler_rt/floatsiXf.zig | 32 +- lib/std/special/compiler_rt/floattidf.zig | 4 +- lib/std/special/compiler_rt/floattisf.zig | 4 +- lib/std/special/compiler_rt/floattitf.zig | 4 +- lib/std/special/compiler_rt/floatundidf.zig | 7 +- lib/std/special/compiler_rt/floatundisf.zig | 91 + lib/std/special/compiler_rt/floatunditf.zig | 2 +- lib/std/special/compiler_rt/floatunsidf.zig | 13 +- lib/std/special/compiler_rt/floatunsisf.zig | 58 + lib/std/special/compiler_rt/floatunsitf.zig | 2 +- lib/std/special/compiler_rt/floatuntidf.zig | 6 +- lib/std/special/compiler_rt/floatuntisf.zig | 6 +- lib/std/special/compiler_rt/floatuntitf.zig | 6 +- lib/std/special/compiler_rt/int.zig | 580 ++ lib/std/special/compiler_rt/lshrti3.zig | 2 +- lib/std/special/compiler_rt/modti3.zig | 9 +- lib/std/special/compiler_rt/mulXf3.zig | 66 +- lib/std/special/compiler_rt/mulXf3_test.zig | 18 +- lib/std/special/compiler_rt/muldi3.zig | 4 +- lib/std/special/compiler_rt/mulodi4.zig | 4 +- lib/std/special/compiler_rt/mulodi4_test.zig | 48 +- lib/std/special/compiler_rt/muloti4.zig | 4 +- lib/std/special/compiler_rt/muloti4_test.zig | 62 +- lib/std/special/compiler_rt/multi3.zig | 11 +- lib/std/special/compiler_rt/negXf2.zig | 16 +- lib/std/special/compiler_rt/popcountdi2.zig | 2 +- lib/std/special/compiler_rt/popcountdi2_test.zig | 6 +- lib/std/special/compiler_rt/stack_probe.zig | 24 +- lib/std/special/compiler_rt/truncXfYf2.zig | 27 +- lib/std/special/compiler_rt/truncXfYf2_test.zig | 22 +- lib/std/special/compiler_rt/udivmod.zig | 6 +- lib/std/special/compiler_rt/udivmoddi4.zig | 11 - lib/std/special/compiler_rt/udivmoddi4_test.zig | 2 +- lib/std/special/compiler_rt/udivmodti4.zig | 4 +- lib/std/special/compiler_rt/udivti3.zig | 4 +- lib/std/special/compiler_rt/umodti3.zig | 9 +- lib/std/special/docs/index.html | 566 ++ lib/std/special/docs/main.js | 1964 +++++++ lib/std/special/init-exe/src/main.zig | 2 +- lib/std/special/panic.zig | 31 - lib/std/special/start.zig | 227 - lib/std/special/start_lib.zig | 16 - lib/std/special/start_windows_tls.zig | 36 - lib/std/special/test_runner.zig | 36 +- lib/std/spinlock.zig | 69 +- lib/std/start.zig | 279 + lib/std/start_windows_tls.zig | 48 + lib/std/statically_initialized_mutex.zig | 105 - lib/std/std.zig | 78 +- lib/std/target.zig | 780 +++ lib/std/testing.zig | 88 +- lib/std/thread.zig | 65 +- lib/std/time.zig | 28 +- lib/std/unicode.zig | 161 +- lib/std/unicode/throughput_test.zig | 23 +- lib/std/valgrind.zig | 90 +- lib/std/valgrind/callgrind.zig | 14 +- lib/std/valgrind/memcheck.zig | 83 +- lib/std/zig/ast.zig | 229 +- lib/std/zig/parse.zig | 584 +- lib/std/zig/parse_string_literal.zig | 2 +- lib/std/zig/parser_test.zig | 295 +- lib/std/zig/perf_test.zig | 4 +- lib/std/zig/render.zig | 532 +- lib/std/zig/tokenizer.zig | 434 +- src-self-hosted/arg.zig | 293 - src-self-hosted/c_int.zig | 117 +- src-self-hosted/c_tokenizer.zig | 977 ++++ src-self-hosted/clang.zig | 248 +- src-self-hosted/codegen.zig | 90 +- src-self-hosted/compilation.zig | 563 +- src-self-hosted/decl.zig | 19 +- src-self-hosted/dep_tokenizer.zig | 42 +- src-self-hosted/errmsg.zig | 44 +- src-self-hosted/introspect.zig | 6 +- src-self-hosted/ir.zig | 600 +- src-self-hosted/libc_installation.zig | 158 +- src-self-hosted/link.zig | 485 +- src-self-hosted/llvm.zig | 95 +- src-self-hosted/main.zig | 867 ++- src-self-hosted/scope.zig | 93 +- src-self-hosted/stage1.zig | 239 +- src-self-hosted/target.zig | 438 -- src-self-hosted/test.zig | 103 +- src-self-hosted/translate_c.zig | 5481 +++++++++++++++--- src-self-hosted/type.zig | 481 +- src-self-hosted/util.zig | 212 + src-self-hosted/value.zig | 119 +- src/all_types.hpp | 453 +- src/analyze.cpp | 1699 ++++-- src/analyze.hpp | 129 +- src/ast_render.cpp | 70 +- src/bigint.cpp | 29 + src/bigint.hpp | 2 + src/buffer.hpp | 6 + src/c_tokenizer.cpp | 840 --- src/c_tokenizer.hpp | 98 - src/codegen.cpp | 2664 +++++---- src/codegen.hpp | 13 +- src/compiler.cpp | 63 +- src/compiler.hpp | 3 +- src/config.h.in | 5 +- src/dump_analysis.cpp | 1364 +++++ src/dump_analysis.hpp | 17 + src/errmsg.cpp | 95 +- src/error.cpp | 1 + src/glibc.cpp | 7 +- src/glibc.hpp | 2 +- src/hash_map.hpp | 12 +- src/install_files.h | 9 +- src/ir.cpp | 9725 +++++++++++++++++++++----------- src/ir.hpp | 12 +- src/ir_print.cpp | 354 +- src/ir_print.hpp | 4 + src/libc_installation.cpp | 10 +- src/link.cpp | 377 +- src/list.hpp | 2 +- src/main.cpp | 162 +- src/memory_profiling.cpp | 150 + src/memory_profiling.hpp | 31 + src/os.cpp | 57 +- src/os.hpp | 4 + src/parser.cpp | 412 +- src/range_set.cpp | 3 + src/stack_report.cpp | 121 - src/stack_report.hpp | 16 - src/target.cpp | 52 +- src/target.hpp | 4 +- src/tokenizer.cpp | 276 +- src/tokenizer.hpp | 13 +- src/translate_c.cpp | 5227 ----------------- src/translate_c.hpp | 19 - src/userland.cpp | 33 +- src/userland.h | 34 +- src/util.cpp | 25 +- src/util.hpp | 50 +- src/zig_clang.cpp | 551 +- src/zig_clang.h | 116 +- src/zig_llvm.cpp | 205 +- src/zig_llvm.h | 85 +- test/cli.zig | 56 +- test/compare_output.zig | 278 +- test/compile_errors.zig | 4570 ++++++++------- test/gen_h.zig | 64 +- test/run_translated_c.zig | 182 + test/runtime_safety.zig | 138 +- test/src/compare_output.zig | 165 + test/src/run_translated_c.zig | 107 + test/src/translate_c.zig | 124 + test/stack_traces.zig | 28 +- test/stage1/behavior.zig | 7 + test/stage1/behavior/align.zig | 59 +- test/stage1/behavior/array.zig | 120 +- test/stage1/behavior/asm.zig | 19 +- test/stage1/behavior/async_fn.zig | 89 +- test/stage1/behavior/atomics.zig | 63 +- test/stage1/behavior/await_struct.zig | 2 +- test/stage1/behavior/bit_shifting.zig | 4 + test/stage1/behavior/bitcast.zig | 21 + test/stage1/behavior/bitreverse.zig | 28 +- test/stage1/behavior/bool.zig | 8 +- test/stage1/behavior/bugs/1076.zig | 16 +- test/stage1/behavior/bugs/1310.zig | 4 +- test/stage1/behavior/bugs/1322.zig | 4 +- test/stage1/behavior/bugs/1421.zig | 2 +- test/stage1/behavior/bugs/1607.zig | 4 +- test/stage1/behavior/bugs/1851.zig | 2 +- test/stage1/behavior/bugs/1914.zig | 4 +- test/stage1/behavior/bugs/2114.zig | 10 +- test/stage1/behavior/bugs/2889.zig | 31 + test/stage1/behavior/bugs/3007.zig | 23 + test/stage1/behavior/bugs/3046.zig | 2 +- test/stage1/behavior/bugs/3367.zig | 12 + test/stage1/behavior/bugs/3384.zig | 11 + test/stage1/behavior/bugs/3468.zig | 6 + test/stage1/behavior/bugs/3742.zig | 38 + test/stage1/behavior/bugs/655.zig | 2 +- test/stage1/behavior/bugs/718.zig | 2 +- test/stage1/behavior/byteswap.zig | 32 +- test/stage1/behavior/call.zig | 74 + test/stage1/behavior/cast.zig | 349 +- test/stage1/behavior/const_slice_child.zig | 9 +- test/stage1/behavior/defer.zig | 2 +- test/stage1/behavior/enum.zig | 31 +- test/stage1/behavior/error.zig | 56 +- test/stage1/behavior/eval.zig | 50 +- test/stage1/behavior/floatop.zig | 286 +- test/stage1/behavior/fn.zig | 55 +- test/stage1/behavior/for.zig | 14 +- test/stage1/behavior/generics.zig | 6 +- test/stage1/behavior/if.zig | 8 +- test/stage1/behavior/import.zig | 4 +- test/stage1/behavior/math.zig | 57 +- test/stage1/behavior/misc.zig | 69 +- test/stage1/behavior/new_stack_call.zig | 7 +- test/stage1/behavior/optional.zig | 34 + test/stage1/behavior/pointers.zig | 142 +- test/stage1/behavior/popcount.zig | 2 +- test/stage1/behavior/ptrcast.zig | 6 +- test/stage1/behavior/pub_enum.zig | 2 +- test/stage1/behavior/reflection.zig | 14 +- test/stage1/behavior/shuffle.zig | 26 +- test/stage1/behavior/sizeof_and_typeof.zig | 20 +- test/stage1/behavior/slice.zig | 40 +- test/stage1/behavior/slicetobytes.zig | 2 +- test/stage1/behavior/struct.zig | 161 +- test/stage1/behavior/struct_contains_slice_of_itself.zig | 16 +- test/stage1/behavior/switch.zig | 57 +- test/stage1/behavior/try.zig | 6 +- test/stage1/behavior/tuple.zig | 18 + test/stage1/behavior/type.zig | 188 +- test/stage1/behavior/type_info.zig | 89 +- test/stage1/behavior/undefined.zig | 2 +- test/stage1/behavior/union.zig | 144 +- test/stage1/behavior/var_args.zig | 55 +- test/stage1/behavior/vector.zig | 151 +- test/stage1/behavior/void.zig | 2 +- test/stage1/behavior/while.zig | 16 +- test/stage1/c_abi/build.zig | 2 +- test/stage1/c_abi/main.zig | 4 +- test/stage2/compare_output.zig | 8 +- test/stage2/test.zig | 6 + test/standalone.zig | 10 +- test/standalone/brace_expansion/main.zig | 6 +- test/standalone/cat/main.zig | 28 +- test/standalone/guess_number/main.zig | 19 +- test/standalone/hello_world/hello.zig | 3 +- test/standalone/hello_world/hello_libc.zig | 4 +- test/standalone/load_dynamic_library/main.zig | 3 +- test/standalone/mix_o_files/build.zig | 2 +- test/standalone/shared_library/build.zig | 2 +- test/standalone/static_c_lib/build.zig | 2 +- test/standalone/static_c_lib/foo.c | 2 + test/standalone/static_c_lib/foo.h | 1 + test/standalone/static_c_lib/foo.zig | 4 + test/tests.zig | 846 +-- test/translate_c.zig | 3621 +++++++----- tools/merge_anal_dumps.zig | 454 ++ tools/process_headers.zig | 133 +- tools/update_glibc.zig | 14 +- 870 files changed, 74036 insertions(+), 35413 deletions(-)