@zigc/lib 0.17.0-dev.607 → 0.17.0-dev.633
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/Maker/PkgConfig.zig +14 -7
- package/compiler/Maker/Step/Compile.zig +6 -6
- package/compiler/Maker/Step/Fmt.zig +1 -1
- package/compiler/Maker/Step/Run.zig +42 -39
- package/compiler/Maker/Step/TranslateC.zig +1 -1
- package/compiler/Maker/Step.zig +47 -16
- package/compiler/Maker.zig +54 -44
- package/libc/include/aarch64-netbsd-none/aarch64/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/aarch64/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/aarch64/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/aarch64/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/aarch64/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/aarch64/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/aarch64/vmparam.h +4 -4
- package/libc/include/aarch64-netbsd-none/machine/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/machine/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/machine/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/machine/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/machine/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/machine/vmparam.h +4 -4
- package/libc/include/arm-netbsd-eabi/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/asm.h +48 -19
- package/libc/include/arm-netbsd-eabi/machine/byte_swap.h +121 -0
- package/libc/include/arm-netbsd-eabi/machine/cpu.h +1 -3
- package/libc/include/arm-netbsd-eabi/machine/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/lwp_private.h +81 -0
- package/libc/include/arm-netbsd-eabi/machine/mcontext.h +5 -51
- package/libc/include/arm-netbsd-eabi/machine/mutex.h +1 -1
- package/libc/include/arm-netbsd-eabi/machine/proc.h +2 -2
- package/libc/include/arm-netbsd-eabi/machine/profile.h +28 -96
- package/libc/include/arm-netbsd-eabi/machine/setjmp.h +7 -6
- package/libc/include/arm-netbsd-eabi/machine/sysarch.h +85 -0
- package/libc/include/generic-netbsd/altq/altq.h +2 -2
- package/libc/include/generic-netbsd/altq/altq_afmap.h +2 -1
- package/libc/include/generic-netbsd/altq/altq_classq.h +8 -6
- package/libc/include/generic-netbsd/altq/altq_jobs.h +37 -37
- package/libc/include/generic-netbsd/altq/altq_rmclass.h +8 -8
- package/libc/include/generic-netbsd/altq/altq_var.h +2 -2
- package/libc/include/generic-netbsd/arm/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/arm/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/arm/asm.h +48 -19
- package/libc/include/generic-netbsd/arm/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/arm/cpu.h +1 -3
- package/libc/include/generic-netbsd/arm/cputypes.h +12 -1
- package/libc/include/generic-netbsd/arm/float.h +2 -1
- package/libc/include/generic-netbsd/arm/lwp_private.h +81 -0
- package/libc/include/generic-netbsd/arm/mcontext.h +5 -51
- package/libc/include/generic-netbsd/arm/mutex.h +1 -1
- package/libc/include/generic-netbsd/arm/proc.h +2 -2
- package/libc/include/generic-netbsd/arm/profile.h +28 -96
- package/libc/include/generic-netbsd/arm/setjmp.h +7 -6
- package/libc/include/generic-netbsd/arpa/nameser.h +3 -3
- package/libc/include/generic-netbsd/arpa/nameser_compat.h +3 -3
- package/libc/include/generic-netbsd/assert.h +12 -22
- package/libc/include/generic-netbsd/bitstring.h +5 -5
- package/libc/include/generic-netbsd/cdbw.h +2 -2
- package/libc/include/generic-netbsd/crypto/cryptodev.h +99 -92
- package/libc/include/generic-netbsd/dev/i2c/emcfaninfo.h +234 -0
- package/libc/include/generic-netbsd/dev/i2c/emcfanreg.h +127 -0
- package/libc/include/generic-netbsd/dev/i2o/i2o.h +3 -366
- package/libc/include/generic-netbsd/dev/ic/hd44780var.h +3 -1
- package/libc/include/generic-netbsd/dev/ic/scmdreg.h +2 -2
- package/libc/include/generic-netbsd/dev/ic/stireg.h +777 -0
- package/libc/include/generic-netbsd/dev/ic/summitreg.h +214 -0
- package/libc/include/generic-netbsd/dev/iscsi/iscsi.h +1 -1
- package/libc/include/generic-netbsd/dev/pci/amrreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/mlyreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/pcidevs.h +177 -22
- package/libc/include/generic-netbsd/dev/pci/pcidevs_data.h +14971 -14588
- package/libc/include/generic-netbsd/dev/pci/pcireg.h +14 -14
- package/libc/include/generic-netbsd/dev/pckbc/pckbdreg.h +2 -1
- package/libc/include/generic-netbsd/dev/pcmcia/if_rayreg.h +2 -2
- package/libc/include/generic-netbsd/dev/raidframe/raidframeio.h +1 -1
- package/libc/include/generic-netbsd/dev/scsipi/scsi_disk.h +42 -7
- package/libc/include/generic-netbsd/dev/scsipi/scsi_spc.h +2 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipi_all.h +83 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipiconf.h +3 -1
- package/libc/include/generic-netbsd/dev/tc/sfbreg.h +3 -3
- package/libc/include/generic-netbsd/dev/tc/sticio.h +2 -2
- package/libc/include/generic-netbsd/dev/usb/umcpmio_hid_reports.h +499 -0
- package/libc/include/generic-netbsd/dev/usb/umcpmio_io.h +45 -0
- package/libc/include/generic-netbsd/dev/usb/usb.h +44 -6
- package/libc/include/generic-netbsd/dev/vndvar.h +2 -2
- package/libc/include/generic-netbsd/dev/wscons/wsconsio.h +19 -1
- package/libc/include/generic-netbsd/dev/wscons/wsksymdef.h +2 -2
- package/libc/include/generic-netbsd/dirent.h +1 -1
- package/libc/include/generic-netbsd/dlfcn.h +4 -2
- package/libc/include/generic-netbsd/elf.h +32 -20
- package/libc/include/generic-netbsd/elfdefinitions.h +1 -1
- package/libc/include/generic-netbsd/evbarm/intr.h +1 -1
- package/libc/include/generic-netbsd/evbmips/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/execinfo.h +4 -2
- package/libc/include/generic-netbsd/fcntl.h +26 -2
- package/libc/include/generic-netbsd/float.h +58 -2
- package/libc/include/generic-netbsd/fmtmsg.h +2 -2
- package/libc/include/generic-netbsd/fs/hfs/libhfs.h +1 -1
- package/libc/include/generic-netbsd/fs/nilfs/nilfs_fs.h +2 -2
- package/libc/include/generic-netbsd/gelf.h +2 -2
- package/libc/include/generic-netbsd/i386/asm.h +12 -4
- package/libc/include/generic-netbsd/i386/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/i386/cpu.h +15 -4
- package/libc/include/generic-netbsd/i386/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/i386/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/i386/mcontext.h +6 -24
- package/libc/include/generic-netbsd/i386/param.h +9 -1
- package/libc/include/generic-netbsd/i386/pcb.h +6 -2
- package/libc/include/generic-netbsd/i386/ptrace.h +2 -2
- package/libc/include/generic-netbsd/i386/types.h +2 -1
- package/libc/include/generic-netbsd/i386/wchar_limits.h +1 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_extern.h +6 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_mount.h +7 -1
- package/libc/include/generic-netbsd/langinfo.h +2 -1
- package/libc/include/generic-netbsd/lauxlib.h +1 -1
- package/libc/include/generic-netbsd/libelf.h +6 -15
- package/libc/include/generic-netbsd/limits.h +1 -1
- package/libc/include/generic-netbsd/lua.h +1 -1
- package/libc/include/generic-netbsd/luaconf.h +1 -1
- package/libc/include/generic-netbsd/lualib.h +1 -1
- package/libc/include/generic-netbsd/lwp.h +1 -1
- package/libc/include/generic-netbsd/machine/ansi.h +2 -2
- package/libc/include/generic-netbsd/machine/aout_machdep.h +39 -2
- package/libc/include/generic-netbsd/machine/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/machine/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/machine/asm.h +271 -2
- package/libc/include/generic-netbsd/machine/bswap.h +9 -1
- package/libc/include/generic-netbsd/machine/byte_swap.h +42 -64
- package/libc/include/generic-netbsd/machine/cdefs.h +7 -2
- package/libc/include/generic-netbsd/machine/cpu.h +207 -30
- package/libc/include/generic-netbsd/machine/cputypes.h +12 -1
- package/libc/include/generic-netbsd/machine/disklabel.h +41 -42
- package/libc/include/generic-netbsd/machine/elf_machdep.h +143 -2
- package/libc/include/generic-netbsd/machine/endian.h +1 -1
- package/libc/include/generic-netbsd/machine/fenv.h +35 -2
- package/libc/include/generic-netbsd/machine/float.h +58 -2
- package/libc/include/generic-netbsd/machine/frame.h +129 -2
- package/libc/include/generic-netbsd/machine/ieee.h +3 -2
- package/libc/include/generic-netbsd/machine/ieeefp.h +43 -2
- package/libc/include/generic-netbsd/machine/int_const.h +32 -2
- package/libc/include/generic-netbsd/machine/int_fmtio.h +380 -2
- package/libc/include/generic-netbsd/machine/int_limits.h +2 -2
- package/libc/include/generic-netbsd/machine/int_mwgwtypes.h +2 -2
- package/libc/include/generic-netbsd/machine/int_types.h +2 -2
- package/libc/include/generic-netbsd/machine/kcore.h +39 -2
- package/libc/include/generic-netbsd/machine/limits.h +2 -2
- package/libc/include/generic-netbsd/machine/lock.h +2 -2
- package/libc/include/generic-netbsd/machine/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/machine/math.h +3 -2
- package/libc/include/generic-netbsd/machine/mcontext.h +149 -2
- package/libc/include/generic-netbsd/machine/mutex.h +127 -2
- package/libc/include/generic-netbsd/machine/param.h +90 -23
- package/libc/include/generic-netbsd/machine/pcb.h +54 -2
- package/libc/include/generic-netbsd/machine/pmap.h +262 -2
- package/libc/include/generic-netbsd/machine/proc.h +75 -2
- package/libc/include/generic-netbsd/machine/profile.h +116 -2
- package/libc/include/generic-netbsd/machine/psl.h +2 -2
- package/libc/include/generic-netbsd/machine/pte.h +346 -2
- package/libc/include/generic-netbsd/machine/ptrace.h +62 -2
- package/libc/include/generic-netbsd/machine/reg.h +124 -2
- package/libc/include/generic-netbsd/machine/reloc.h +2 -2
- package/libc/include/generic-netbsd/machine/setjmp.h +69 -2
- package/libc/include/generic-netbsd/machine/signal.h +39 -2
- package/libc/include/generic-netbsd/machine/sljit_machdep.h +1 -1
- package/libc/include/generic-netbsd/machine/sysarch.h +2 -84
- package/libc/include/generic-netbsd/machine/sysreg.h +354 -0
- package/libc/include/generic-netbsd/machine/trap.h +2 -2
- package/libc/include/generic-netbsd/machine/types.h +118 -6
- package/libc/include/generic-netbsd/machine/vmparam.h +235 -2
- package/libc/include/generic-netbsd/machine/wchar_limits.h +2 -2
- package/libc/include/generic-netbsd/math.h +19 -6
- package/libc/include/generic-netbsd/md2.h +6 -3
- package/libc/include/generic-netbsd/mips/asm.h +69 -17
- package/libc/include/generic-netbsd/mips/bswap.h +3 -1
- package/libc/include/generic-netbsd/mips/cpu.h +7 -7
- package/libc/include/generic-netbsd/mips/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/mips/fenv.h +2 -1
- package/libc/include/generic-netbsd/mips/float.h +3 -2
- package/libc/include/generic-netbsd/mips/frame.h +3 -2
- package/libc/include/generic-netbsd/mips/limits.h +4 -13
- package/libc/include/generic-netbsd/mips/lwp_private.h +87 -0
- package/libc/include/generic-netbsd/mips/mcontext.h +2 -53
- package/libc/include/generic-netbsd/mips/mips3_pte.h +2 -2
- package/libc/include/generic-netbsd/mips/mips_param.h +16 -2
- package/libc/include/generic-netbsd/mips/mutex.h +1 -1
- package/libc/include/generic-netbsd/mips/types.h +1 -1
- package/libc/include/generic-netbsd/mips/vmparam.h +1 -1
- package/libc/include/generic-netbsd/miscfs/kernfs/kernfs.h +2 -2
- package/libc/include/generic-netbsd/miscfs/procfs/procfs.h +33 -2
- package/libc/include/generic-netbsd/miscfs/specfs/specdev.h +1 -2
- package/libc/include/generic-netbsd/monetary.h +2 -1
- package/libc/include/generic-netbsd/net/agr/if_agrioctl.h +2 -2
- package/libc/include/generic-netbsd/net/bpf.h +11 -4
- package/libc/include/generic-netbsd/net/bpfdesc.h +1 -1
- package/libc/include/generic-netbsd/net/dlt.h +222 -48
- package/libc/include/generic-netbsd/net/if.h +20 -5
- package/libc/include/generic-netbsd/net/if_bridgevar.h +2 -3
- package/libc/include/generic-netbsd/net/if_ether.h +4 -3
- package/libc/include/generic-netbsd/net/if_lagg.h +2 -2
- package/libc/include/generic-netbsd/net/if_media.h +2 -2
- package/libc/include/generic-netbsd/net/if_ppp.h +1 -3
- package/libc/include/generic-netbsd/net/if_stats.h +19 -5
- package/libc/include/generic-netbsd/net/net_stats.h +13 -6
- package/libc/include/generic-netbsd/net/npf.h +33 -5
- package/libc/include/generic-netbsd/net/pfkeyv2.h +1 -1
- package/libc/include/generic-netbsd/net/route.h +4 -4
- package/libc/include/generic-netbsd/net80211/ieee80211_node.h +3 -2
- package/libc/include/generic-netbsd/net80211/ieee80211_var.h +2 -2
- package/libc/include/generic-netbsd/netbt/hci.h +3 -3
- package/libc/include/generic-netbsd/netdb.h +2 -2
- package/libc/include/generic-netbsd/netinet/icmp6.h +6 -2
- package/libc/include/generic-netbsd/netinet/in.h +17 -17
- package/libc/include/generic-netbsd/netinet/in_var.h +5 -9
- package/libc/include/generic-netbsd/netinet/ip_mroute.h +24 -28
- package/libc/include/generic-netbsd/netinet/ip_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/sctp.h +4 -4
- package/libc/include/generic-netbsd/netinet/tcp_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/tcp_vtw.h +2 -2
- package/libc/include/generic-netbsd/netinet6/in6_var.h +7 -33
- package/libc/include/generic-netbsd/netinet6/ip6_var.h +2 -2
- package/libc/include/generic-netbsd/nfs/krpc.h +9 -4
- package/libc/include/generic-netbsd/nfs/nfs.h +5 -3
- package/libc/include/generic-netbsd/nfs/nfsdiskless.h +37 -20
- package/libc/include/generic-netbsd/nfs/nfsm_subs.h +4 -7
- package/libc/include/generic-netbsd/nfs/nfsmount.h +3 -4
- package/libc/include/generic-netbsd/nfs/nfsnode.h +9 -6
- package/libc/include/generic-netbsd/nfs/nfsproto.h +5 -2
- package/libc/include/generic-netbsd/nfs/nfsrtt.h +8 -4
- package/libc/include/generic-netbsd/nfs/nfsrvcache.h +9 -3
- package/libc/include/generic-netbsd/nfs/rpcv2.h +5 -3
- package/libc/include/generic-netbsd/nfs/xdr_subs.h +6 -5
- package/libc/include/generic-netbsd/nl_types.h +3 -1
- package/libc/include/generic-netbsd/ntfs/ntfs_inode.h +2 -2
- package/libc/include/generic-netbsd/poll.h +8 -2
- package/libc/include/generic-netbsd/prop/prop_object.h +48 -3
- package/libc/include/generic-netbsd/protocols/talkd.h +2 -2
- package/libc/include/generic-netbsd/pthread.h +51 -12
- package/libc/include/generic-netbsd/regex.h +2 -1
- package/libc/include/generic-netbsd/riscv/ansi.h +3 -0
- package/libc/include/generic-netbsd/riscv/aout_machdep.h +40 -0
- package/libc/include/generic-netbsd/riscv/asm.h +272 -0
- package/libc/include/generic-netbsd/riscv/bswap.h +11 -0
- package/libc/include/generic-netbsd/riscv/byte_swap.h +99 -0
- package/libc/include/generic-netbsd/riscv/cdefs.h +8 -0
- package/libc/include/generic-netbsd/riscv/cpu.h +242 -0
- package/libc/include/generic-netbsd/riscv/disklabel.h +68 -0
- package/libc/include/generic-netbsd/riscv/elf_machdep.h +144 -0
- package/libc/include/generic-netbsd/riscv/endian.h +3 -0
- package/libc/include/generic-netbsd/riscv/endian_machdep.h +3 -0
- package/libc/include/generic-netbsd/riscv/fenv.h +36 -0
- package/libc/include/generic-netbsd/riscv/float.h +59 -0
- package/libc/include/generic-netbsd/riscv/ieee.h +4 -0
- package/libc/include/generic-netbsd/riscv/ieeefp.h +44 -0
- package/libc/include/generic-netbsd/riscv/int_const.h +33 -0
- package/libc/include/generic-netbsd/riscv/int_fmtio.h +381 -0
- package/libc/include/generic-netbsd/riscv/int_limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_mwgwtypes.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_types.h +3 -0
- package/libc/include/generic-netbsd/riscv/kcore.h +40 -0
- package/libc/include/generic-netbsd/riscv/limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/lock.h +3 -0
- package/libc/include/generic-netbsd/riscv/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/riscv/math.h +4 -0
- package/libc/include/generic-netbsd/riscv/mcontext.h +150 -0
- package/libc/include/generic-netbsd/riscv/mutex.h +128 -0
- package/libc/include/generic-netbsd/riscv/param.h +110 -0
- package/libc/include/generic-netbsd/riscv/pcb.h +55 -0
- package/libc/include/generic-netbsd/riscv/pmap.h +263 -0
- package/libc/include/generic-netbsd/riscv/proc.h +76 -0
- package/libc/include/generic-netbsd/riscv/profile.h +117 -0
- package/libc/include/generic-netbsd/riscv/pte.h +347 -0
- package/libc/include/generic-netbsd/riscv/ptrace.h +63 -0
- package/libc/include/generic-netbsd/riscv/reg.h +125 -0
- package/libc/include/generic-netbsd/riscv/rwlock.h +1 -0
- package/libc/include/generic-netbsd/riscv/setjmp.h +70 -0
- package/libc/include/generic-netbsd/riscv/signal.h +40 -0
- package/libc/include/generic-netbsd/riscv/sysarch.h +3 -0
- package/libc/include/generic-netbsd/riscv/sysreg.h +354 -0
- package/libc/include/generic-netbsd/riscv/types.h +123 -0
- package/libc/include/generic-netbsd/riscv/vmparam.h +236 -0
- package/libc/include/generic-netbsd/riscv/wchar_limits.h +13 -0
- package/libc/include/generic-netbsd/rmd160.h +3 -3
- package/libc/include/generic-netbsd/rpc/xdr.h +3 -3
- package/libc/include/generic-netbsd/rpcsvc/yp_prot.h +3 -2
- package/libc/include/generic-netbsd/rump/rump_namei.h +2 -2
- package/libc/include/generic-netbsd/rump/rump_syscalls.h +4 -4
- package/libc/include/generic-netbsd/rump/rumpuser.h +6 -1
- package/libc/include/generic-netbsd/rump/rumpvnode_if.h +2 -2
- package/libc/include/generic-netbsd/sha1.h +3 -3
- package/libc/include/generic-netbsd/sha2.h +8 -1
- package/libc/include/generic-netbsd/signal.h +4 -4
- package/libc/include/generic-netbsd/sparc/asm.h +10 -1
- package/libc/include/generic-netbsd/sparc/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc/cgtworeg.h +2 -2
- package/libc/include/generic-netbsd/sparc/cpu.h +1 -1
- package/libc/include/generic-netbsd/sparc/float.h +3 -1
- package/libc/include/generic-netbsd/sparc/limits.h +4 -6
- package/libc/include/generic-netbsd/sparc/lwp_private.h +51 -0
- package/libc/include/generic-netbsd/sparc/mcontext.h +4 -22
- package/libc/include/generic-netbsd/sparc/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc/param.h +4 -2
- package/libc/include/generic-netbsd/sparc/pmap.h +2 -2
- package/libc/include/generic-netbsd/sparc/psl.h +6 -3
- package/libc/include/generic-netbsd/sparc/types.h +2 -2
- package/libc/include/generic-netbsd/sparc64/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc64/cpu.h +2 -2
- package/libc/include/generic-netbsd/sparc64/ctlreg.h +8 -7
- package/libc/include/generic-netbsd/sparc64/intr.h +1 -1
- package/libc/include/generic-netbsd/sparc64/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/sparc64/mcontext.h +4 -4
- package/libc/include/generic-netbsd/sparc64/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc64/param.h +8 -2
- package/libc/include/generic-netbsd/sparc64/psl.h +7 -2
- package/libc/include/generic-netbsd/sparc64/pte.h +2 -2
- package/libc/include/generic-netbsd/sparc64/vmparam.h +1 -1
- package/libc/include/generic-netbsd/ssp/ssp.h +16 -6
- package/libc/include/generic-netbsd/stdalign.h +3 -3
- package/libc/include/generic-netbsd/stdarg.h +2 -2
- package/libc/include/generic-netbsd/stddef.h +90 -12
- package/libc/include/generic-netbsd/stdlib.h +11 -2
- package/libc/include/generic-netbsd/stdnoreturn.h +2 -2
- package/libc/include/generic-netbsd/string.h +66 -39
- package/libc/include/generic-netbsd/strings.h +17 -3
- package/libc/include/generic-netbsd/sys/atomic.h +10 -5
- package/libc/include/generic-netbsd/sys/bitops.h +2 -2
- package/libc/include/generic-netbsd/sys/bootblock.h +13 -2
- package/libc/include/generic-netbsd/sys/bswap.h +46 -20
- package/libc/include/generic-netbsd/sys/buf.h +3 -3
- package/libc/include/generic-netbsd/sys/cdefs.h +44 -6
- package/libc/include/generic-netbsd/sys/cdefs_aout.h +8 -1
- package/libc/include/generic-netbsd/sys/cdefs_elf.h +9 -2
- package/libc/include/generic-netbsd/sys/chio.h +2 -2
- package/libc/include/generic-netbsd/sys/clock.h +5 -1
- package/libc/include/generic-netbsd/sys/common_limits.h +3 -1
- package/libc/include/generic-netbsd/sys/condvar.h +1 -1
- package/libc/include/generic-netbsd/sys/conf.h +4 -3
- package/libc/include/generic-netbsd/sys/container_of.h +75 -0
- package/libc/include/generic-netbsd/sys/device.h +20 -13
- package/libc/include/generic-netbsd/sys/disk.h +8 -1
- package/libc/include/generic-netbsd/sys/disklabel.h +2 -2
- package/libc/include/generic-netbsd/sys/disklabel_gpt.h +7 -1
- package/libc/include/generic-netbsd/sys/efiio.h +1 -1
- package/libc/include/generic-netbsd/sys/elfdefinitions.h +2368 -1591
- package/libc/include/generic-netbsd/sys/endian.h +17 -17
- package/libc/include/generic-netbsd/sys/evcnt.h +15 -2
- package/libc/include/generic-netbsd/sys/event.h +3 -2
- package/libc/include/generic-netbsd/sys/exec.h +2 -2
- package/libc/include/generic-netbsd/sys/exec_elf.h +32 -20
- package/libc/include/generic-netbsd/sys/fcntl.h +26 -2
- package/libc/include/generic-netbsd/sys/fd_set.h +3 -3
- package/libc/include/generic-netbsd/sys/featuretest.h +24 -6
- package/libc/include/generic-netbsd/sys/file.h +18 -6
- package/libc/include/generic-netbsd/sys/filedesc.h +8 -4
- package/libc/include/generic-netbsd/sys/futex.h +11 -11
- package/libc/include/generic-netbsd/sys/ieee754.h +2 -2
- package/libc/include/generic-netbsd/sys/ipc.h +2 -2
- package/libc/include/generic-netbsd/sys/ipmi.h +4 -2
- package/libc/include/generic-netbsd/sys/ksem.h +1 -1
- package/libc/include/generic-netbsd/sys/ktrace.h +6 -4
- package/libc/include/generic-netbsd/sys/lock.h +2 -2
- package/libc/include/generic-netbsd/sys/lua.h +1 -1
- package/libc/include/generic-netbsd/sys/lwp.h +25 -92
- package/libc/include/generic-netbsd/sys/mbuf.h +15 -13
- package/libc/include/generic-netbsd/sys/mman.h +11 -3
- package/libc/include/generic-netbsd/sys/mount.h +1 -2
- package/libc/include/generic-netbsd/sys/msg.h +3 -3
- package/libc/include/generic-netbsd/sys/mutex.h +1 -3
- package/libc/include/generic-netbsd/sys/namei.h +32 -17
- package/libc/include/generic-netbsd/sys/param.h +11 -8
- package/libc/include/generic-netbsd/sys/pipe.h +10 -11
- package/libc/include/generic-netbsd/sys/poll.h +8 -2
- package/libc/include/generic-netbsd/sys/proc.h +15 -15
- package/libc/include/generic-netbsd/sys/ptrace.h +24 -7
- package/libc/include/generic-netbsd/sys/ptree.h +2 -1
- package/libc/include/generic-netbsd/sys/queue.h +37 -37
- package/libc/include/generic-netbsd/sys/rbtree.h +23 -9
- package/libc/include/generic-netbsd/sys/resourcevar.h +2 -2
- package/libc/include/generic-netbsd/sys/rmd160.h +3 -3
- package/libc/include/generic-netbsd/sys/rndio.h +1 -1
- package/libc/include/generic-netbsd/sys/rwlock.h +1 -2
- package/libc/include/generic-netbsd/sys/sched.h +1 -1
- package/libc/include/generic-netbsd/sys/sdt.h +181 -111
- package/libc/include/generic-netbsd/sys/sem.h +7 -2
- package/libc/include/generic-netbsd/sys/sha1.h +3 -3
- package/libc/include/generic-netbsd/sys/sha2.h +8 -1
- package/libc/include/generic-netbsd/sys/shm.h +2 -2
- package/libc/include/generic-netbsd/sys/siginfo.h +5 -5
- package/libc/include/generic-netbsd/sys/signal.h +1 -1
- package/libc/include/generic-netbsd/sys/sigtypes.h +4 -4
- package/libc/include/generic-netbsd/sys/sleepq.h +14 -27
- package/libc/include/generic-netbsd/sys/socket.h +3 -1
- package/libc/include/generic-netbsd/sys/socketvar.h +4 -4
- package/libc/include/generic-netbsd/sys/stat.h +5 -5
- package/libc/include/generic-netbsd/sys/stdalign.h +55 -0
- package/libc/include/generic-netbsd/sys/stdarg.h +2 -2
- package/libc/include/generic-netbsd/sys/stddef.h +156 -0
- package/libc/include/generic-netbsd/sys/swap.h +2 -2
- package/libc/include/generic-netbsd/sys/syncobj.h +9 -6
- package/libc/include/generic-netbsd/sys/syscall.h +29 -8
- package/libc/include/generic-netbsd/sys/syscallargs.h +89 -12
- package/libc/include/generic-netbsd/sys/sysctl.h +94 -86
- package/libc/include/generic-netbsd/sys/syslimits.h +8 -1
- package/libc/include/generic-netbsd/sys/syslog.h +6 -7
- package/libc/include/generic-netbsd/sys/time.h +10 -8
- package/libc/include/generic-netbsd/sys/tree.h +13 -13
- package/libc/include/generic-netbsd/sys/tty.h +2 -2
- package/libc/include/generic-netbsd/sys/ttycom.h +7 -1
- package/libc/include/generic-netbsd/sys/types.h +1 -1
- package/libc/include/generic-netbsd/sys/ucontext.h +46 -49
- package/libc/include/generic-netbsd/sys/un.h +12 -4
- package/libc/include/generic-netbsd/sys/unistd.h +103 -102
- package/libc/include/generic-netbsd/sys/unpcb.h +2 -2
- package/libc/include/generic-netbsd/sys/vmmeter.h +1 -39
- package/libc/include/generic-netbsd/sys/vnode_if.h +2 -2
- package/libc/include/generic-netbsd/sys/vnode_impl.h +6 -3
- package/libc/include/generic-netbsd/sys/wapbl_replay.h +2 -2
- package/libc/include/generic-netbsd/sys/wchan.h +37 -0
- package/libc/include/generic-netbsd/syslog.h +6 -7
- package/libc/include/generic-netbsd/time.h +44 -8
- package/libc/include/generic-netbsd/tzfile.h +11 -6
- package/libc/include/generic-netbsd/uchar.h +1 -1
- package/libc/include/generic-netbsd/ucontext.h +2 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs.h +31 -16
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_dir.h +1 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extents.h +5 -5
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extern.h +4 -4
- package/libc/include/generic-netbsd/ufs/ffs/ffs_extern.h +1 -1
- package/libc/include/generic-netbsd/ufs/ffs/fs.h +3 -3
- package/libc/include/generic-netbsd/ufs/ufs/quota2.h +2 -2
- package/libc/include/generic-netbsd/unistd.h +11 -5
- package/libc/include/generic-netbsd/unwind.h +1 -1
- package/libc/include/generic-netbsd/util.h +15 -1
- package/libc/include/generic-netbsd/uvm/uvm.h +1 -5
- package/libc/include/generic-netbsd/uvm/uvm_extern.h +3 -4
- package/libc/include/generic-netbsd/uvm/uvm_object.h +2 -2
- package/libc/include/generic-netbsd/uvm/uvm_param.h +1 -1
- package/libc/include/generic-netbsd/uvm/uvm_swap.h +14 -3
- package/libc/include/generic-netbsd/wchar.h +7 -2
- package/libc/include/generic-netbsd/x86/bootinfo.h +4 -1
- package/libc/include/generic-netbsd/x86/cpu.h +18 -1
- package/libc/include/generic-netbsd/x86/cpu_extended_state.h +3 -1
- package/libc/include/generic-netbsd/x86/cpuvar.h +4 -1
- package/libc/include/generic-netbsd/x86/float.h +24 -1
- package/libc/include/generic-netbsd/x86/ieee.h +11 -7
- package/libc/include/generic-netbsd/x86/lwp_private.h +56 -0
- package/libc/include/generic-netbsd/x86/mutex.h +1 -1
- package/libc/include/generic-netbsd/x86/specialreg.h +111 -23
- package/libc/include/m68k-netbsd-none/m68k/asm.h +11 -2
- package/libc/include/m68k-netbsd-none/m68k/bus_dma.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/byte_swap.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_30.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_40.h +3 -1
- package/libc/include/m68k-netbsd-none/m68k/cacheops_60.h +5 -3
- package/libc/include/m68k-netbsd-none/m68k/cpu.h +86 -59
- package/libc/include/m68k-netbsd-none/m68k/cpuframe.h +5 -5
- package/libc/include/m68k-netbsd-none/m68k/fenv.h +6 -4
- package/libc/include/m68k-netbsd-none/m68k/float.h +26 -1
- package/libc/include/m68k-netbsd-none/m68k/frame.h +31 -19
- package/libc/include/m68k-netbsd-none/m68k/ieee.h +13 -8
- package/libc/include/m68k-netbsd-none/m68k/ieeefp.h +3 -3
- package/libc/include/m68k-netbsd-none/m68k/int_limits.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/intr.h +211 -0
- package/libc/include/m68k-netbsd-none/m68k/kcore.h +31 -31
- package/libc/include/m68k-netbsd-none/m68k/lwp_private.h +64 -0
- package/libc/include/m68k-netbsd-none/m68k/m68k.h +3 -7
- package/libc/include/m68k-netbsd-none/m68k/mcontext.h +5 -36
- package/libc/include/m68k-netbsd-none/m68k/mmu_30.h +105 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_40.h +232 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_51.h +273 -0
- package/libc/include/m68k-netbsd-none/m68k/mutex.h +1 -1
- package/libc/include/m68k-netbsd-none/m68k/pcb.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/pmap_motorola.h +32 -23
- package/libc/include/m68k-netbsd-none/m68k/psl.h +26 -7
- package/libc/include/m68k-netbsd-none/m68k/pte_motorola.h +37 -26
- package/libc/include/m68k-netbsd-none/m68k/trap.h +7 -7
- package/libc/include/m68k-netbsd-none/mac68k/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/mac68k/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/mac68k/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/mac68k/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/mac68k/z8530var.h +2 -2
- package/libc/include/m68k-netbsd-none/machine/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/machine/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/machine/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/machine/z8530var.h +2 -2
- package/libc/include/mips-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/evbppc/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ansi.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/aout_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/asm.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cdefs.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cpu.h +65 -0
- package/libc/include/powerpc-netbsd-eabi/machine/disklabel.h +69 -0
- package/libc/include/powerpc-netbsd-eabi/machine/elf_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/endian.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/fenv.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/frame.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieee.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieeefp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_const.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_fmtio.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_mwgwtypes.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_types.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/kcore.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lock.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/math.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mcontext.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mutex.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/param.h +43 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pcb.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pmap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/proc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/profile.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/psl.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pte.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ptrace.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reg.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reloc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/setjmp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/signal.h +3 -0
- package/libc/include/{mips-netbsd-eabi → powerpc-netbsd-eabi}/machine/sljit_machdep.h +1 -1
- package/libc/include/powerpc-netbsd-eabi/machine/trap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/types.h +11 -0
- package/libc/include/powerpc-netbsd-eabi/machine/vmparam.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/wchar_limits.h +3 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/asm.h +12 -2
- package/libc/include/powerpc-netbsd-eabi/powerpc/bswap.h +14 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cpu.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fenv.h +2 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/pmap.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieee.h +7 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/limits.h +4 -13
- package/libc/include/powerpc-netbsd-eabi/powerpc/lwp_private.h +79 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mcontext.h +6 -50
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mutex.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pmap.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pmap.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/psl.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/vmparam.h +1 -1
- package/libc/include/riscv32-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv32-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv32-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv32-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/riscv64-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv64-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv64-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv64-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/sparc-netbsd-none/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/asm.h +10 -1
- package/libc/include/sparc-netbsd-none/machine/cgtworeg.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/cpu.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/limits.h +4 -6
- package/libc/include/sparc-netbsd-none/machine/lwp_private.h +51 -0
- package/libc/include/sparc-netbsd-none/machine/mcontext.h +4 -22
- package/libc/include/sparc-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/param.h +4 -2
- package/libc/include/sparc-netbsd-none/machine/pmap.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/psl.h +6 -3
- package/libc/include/sparc-netbsd-none/machine/sxreg.h +5 -1
- package/libc/include/sparc-netbsd-none/machine/types.h +2 -2
- package/libc/include/sparc-netbsd-none/sparc/sxreg.h +5 -1
- package/libc/include/sparc64-netbsd-none/machine/cpu.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/ctlreg.h +8 -7
- package/libc/include/sparc64-netbsd-none/machine/intr.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/sparc64-netbsd-none/machine/mcontext.h +4 -4
- package/libc/include/sparc64-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/param.h +8 -2
- package/libc/include/sparc64-netbsd-none/machine/psl.h +7 -2
- package/libc/include/sparc64-netbsd-none/machine/pte.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/vmparam.h +1 -1
- package/libc/include/x86-netbsd-none/machine/asm.h +12 -4
- package/libc/include/x86-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86-netbsd-none/machine/cpu.h +15 -4
- package/libc/include/x86-netbsd-none/machine/elf_machdep.h +2 -1
- package/libc/include/x86-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86-netbsd-none/machine/mcontext.h +6 -24
- package/libc/include/x86-netbsd-none/machine/param.h +9 -1
- package/libc/include/x86-netbsd-none/machine/pcb.h +6 -2
- package/libc/include/x86-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86-netbsd-none/machine/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/amd64/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/amd64/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/amd64/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/amd64/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/amd64/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/amd64/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/amd64/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/machine/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/machine/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/machine/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/machine/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/machine/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/types.h +2 -1
- package/libc/netbsd/abilists +0 -0
- package/libc/netbsd/lib/csu/arch/riscv/crt0.S +62 -0
- package/libc/netbsd/lib/csu/common/crt0-common.c +32 -7
- package/libc/netbsd/lib/csu/common/csu-common.h +2 -0
- package/package.json +1 -1
- package/std/Build/Cache/Path.zig +27 -28
- package/std/Build/Cache.zig +1 -0
- package/std/Build/Configuration.zig +0 -8
- package/std/Build/Step/Compile.zig +2 -8
- package/std/Build/Step/ObjCopy.zig +2 -2
- package/std/Build/Step/Options.zig +2 -2
- package/std/Build/Step/Run.zig +0 -33
- package/std/Build.zig +1 -1
- package/std/Target.zig +3 -1
- package/std/debug/Pdb.zig +61 -34
- package/std/debug/SelfInfo/Elf.zig +12 -9
- package/std/debug/SelfInfo/Windows.zig +3 -5
- package/std/debug/cpu_context.zig +62 -14
- package/std/zig/target.zig +2 -1
- package/std/zig.zig +12 -0
- package/libc/include/arm-netbsd-eabi/machine/frame.h +0 -130
- package/libc/include/generic-netbsd/powerpc/bswap.h +0 -8
- package/libc/include/mips-netbsd-eabi/machine/psl.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/reloc.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/trap.h +0 -3
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/asm.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/bswap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/disklabel.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fenv.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieee.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mcontext.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mutex.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pmap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/psl.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/wchar_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/tlb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/bat.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/sr_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/wchar_limits.h +0 -0
|
@@ -2,6 +2,7 @@ const std = @import("std");
|
|
|
2
2
|
const Io = std.Io;
|
|
3
3
|
const mem = std.mem;
|
|
4
4
|
const assert = std.debug.assert;
|
|
5
|
+
const Allocator = std.mem.Allocator;
|
|
5
6
|
|
|
6
7
|
const Maker = @import("../Maker.zig");
|
|
7
8
|
const Step = @import("Step.zig");
|
|
@@ -23,6 +24,7 @@ pub const Result = std.zig.PkgConfig.Parsed;
|
|
|
23
24
|
pub fn run(
|
|
24
25
|
maker: *Maker,
|
|
25
26
|
step: *Step,
|
|
27
|
+
arena: Allocator,
|
|
26
28
|
progress_node: std.Progress.Node,
|
|
27
29
|
lib_name: []const u8,
|
|
28
30
|
/// If true, reports failure error messages on step rather than returning
|
|
@@ -31,7 +33,6 @@ pub fn run(
|
|
|
31
33
|
) RunError!Result {
|
|
32
34
|
const pc = &maker.pkg_config;
|
|
33
35
|
const graph = maker.graph;
|
|
34
|
-
const arena = graph.arena; // TODO don't leak into process arena
|
|
35
36
|
|
|
36
37
|
const pkg_config_exe = getExe(graph);
|
|
37
38
|
const pkgs = try getPkgs(maker, step, progress_node, force);
|
|
@@ -41,7 +42,7 @@ pub fn run(
|
|
|
41
42
|
};
|
|
42
43
|
const pkg = pkgs.all[found_index];
|
|
43
44
|
|
|
44
|
-
const stdout = try captureChildProcess(maker, step, .{
|
|
45
|
+
const stdout = try captureChildProcess(maker, step, arena, .{
|
|
45
46
|
.argv = &.{ pkg_config_exe, pkg.name, "--cflags", "--libs" },
|
|
46
47
|
.progress_node = progress_node,
|
|
47
48
|
.allow_failure = !force,
|
|
@@ -69,11 +70,16 @@ fn getExe(graph: *const Graph) []const u8 {
|
|
|
69
70
|
return std.zig.PkgConfig.exe(&graph.environ_map);
|
|
70
71
|
}
|
|
71
72
|
|
|
72
|
-
fn getPkgs(
|
|
73
|
+
fn getPkgs(
|
|
74
|
+
maker: *Maker,
|
|
75
|
+
step: *Step,
|
|
76
|
+
progress_node: std.Progress.Node,
|
|
77
|
+
force: bool,
|
|
78
|
+
) RunError!std.zig.PkgConfig {
|
|
73
79
|
const graph = maker.graph;
|
|
74
|
-
const arena = graph.arena; // TODO don't leak into process arena
|
|
75
80
|
const io = graph.io;
|
|
76
81
|
const pc = &maker.pkg_config;
|
|
82
|
+
const arena = graph.arena;
|
|
77
83
|
|
|
78
84
|
try pc.mutex.lock(io);
|
|
79
85
|
defer pc.mutex.unlock(io);
|
|
@@ -81,7 +87,7 @@ fn getPkgs(maker: *Maker, step: *Step, progress_node: std.Progress.Node, force:
|
|
|
81
87
|
if (pc.pkgs) |pkgs| return pkgs;
|
|
82
88
|
|
|
83
89
|
const pkg_config_exe = getExe(graph);
|
|
84
|
-
const stdout = try captureChildProcess(maker, step, .{
|
|
90
|
+
const stdout = try captureChildProcess(maker, step, arena, .{
|
|
85
91
|
.argv = &.{ pkg_config_exe, "--list-all" },
|
|
86
92
|
.progress_node = progress_node,
|
|
87
93
|
.allow_failure = !force,
|
|
@@ -102,11 +108,12 @@ fn getPkgs(maker: *Maker, step: *Step, progress_node: std.Progress.Node, force:
|
|
|
102
108
|
return result;
|
|
103
109
|
}
|
|
104
110
|
|
|
105
|
-
fn captureChildProcess(maker: *Maker, step: *Step, options: Step.CaptureChildProcessOptions) ![]const u8 {
|
|
106
|
-
const captured = step.captureChildProcess(maker, options) catch |err| switch (err) {
|
|
111
|
+
fn captureChildProcess(maker: *Maker, step: *Step, arena: Allocator, options: Step.CaptureChildProcessOptions) ![]const u8 {
|
|
112
|
+
const captured = step.captureChildProcess(maker, arena, options) catch |err| switch (err) {
|
|
107
113
|
error.FileNotFound => return error.PkgConfigUnavailable,
|
|
108
114
|
else => |e| return e,
|
|
109
115
|
};
|
|
116
|
+
if (captured.stderr.len != 0) try step.setResultStderr(maker.gpa, captured.stderr);
|
|
110
117
|
assert(step.result_failed_command != null);
|
|
111
118
|
if (captured.term.success()) return captured.stdout;
|
|
112
119
|
if (!options.allow_failure) return step.fail(maker, "{s} {f}", .{ options.argv[0], captured.term });
|
|
@@ -328,10 +328,10 @@ fn lowerZigArgs(
|
|
|
328
328
|
const pkg_conf_node = progress_node.start("pkg-config", 0);
|
|
329
329
|
defer pkg_conf_node.end();
|
|
330
330
|
|
|
331
|
-
if (PkgConfig.run(maker, step, pkg_conf_node, system_lib_name, force)) |
|
|
332
|
-
try zig_args.appendSlice(gpa,
|
|
333
|
-
try zig_args.appendSlice(gpa,
|
|
334
|
-
try seen_system_libs.put(arena, system_lib.name,
|
|
331
|
+
if (PkgConfig.run(maker, step, arena, pkg_conf_node, system_lib_name, force)) |pc| {
|
|
332
|
+
try zig_args.appendSlice(gpa, pc.cflags);
|
|
333
|
+
try zig_args.appendSlice(gpa, pc.libs);
|
|
334
|
+
try seen_system_libs.put(arena, system_lib.name, pc.cflags);
|
|
335
335
|
break :l;
|
|
336
336
|
} else |err| switch (err) {
|
|
337
337
|
error.PkgConfigUnavailable,
|
|
@@ -960,8 +960,8 @@ pub fn rebuildInFuzzMode(
|
|
|
960
960
|
const arena = arena_allocator.allocator();
|
|
961
961
|
|
|
962
962
|
step.result_error_msgs.clearRetainingCapacity();
|
|
963
|
-
step.
|
|
964
|
-
|
|
963
|
+
step.clearResultStderr(gpa);
|
|
964
|
+
step.clearErrorBundle(gpa);
|
|
965
965
|
step.result_error_bundle.deinit(gpa);
|
|
966
966
|
step.result_error_bundle = std.zig.ErrorBundle.empty;
|
|
967
967
|
|
|
@@ -43,7 +43,7 @@ pub fn make(
|
|
|
43
43
|
argv.appendAssumeCapacity(try maker.resolveLazyPathIndexAbs(arena, lp, step_index));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
const run_result = step.captureChildProcess(maker, .{
|
|
46
|
+
const run_result = step.captureChildProcess(maker, arena, .{
|
|
47
47
|
.progress_node = progress_node,
|
|
48
48
|
.argv = argv.items,
|
|
49
49
|
.allow_failure = false,
|
|
@@ -713,7 +713,7 @@ const FuzzTestRunner = struct {
|
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
-
fn listen(f: *FuzzTestRunner
|
|
716
|
+
fn listen(f: *FuzzTestRunner) !void {
|
|
717
717
|
const maker = f.ctx.fuzz.maker;
|
|
718
718
|
const graph = maker.graph;
|
|
719
719
|
const io = graph.io;
|
|
@@ -737,7 +737,7 @@ const FuzzTestRunner = struct {
|
|
|
737
737
|
else => |read_e| return read_e,
|
|
738
738
|
}),
|
|
739
739
|
2 => try f.completeStderrRead(id, result.file_read_streaming catch |e| switch (e) {
|
|
740
|
-
error.EndOfStream => return f.instanceEos(
|
|
740
|
+
error.EndOfStream => return f.instanceEos(id),
|
|
741
741
|
else => |read_e| return read_e,
|
|
742
742
|
}),
|
|
743
743
|
else => unreachable,
|
|
@@ -899,8 +899,9 @@ const FuzzTestRunner = struct {
|
|
|
899
899
|
} });
|
|
900
900
|
}
|
|
901
901
|
|
|
902
|
-
fn instanceEos(f: *FuzzTestRunner,
|
|
902
|
+
fn instanceEos(f: *FuzzTestRunner, id: u32) !void {
|
|
903
903
|
const maker = f.ctx.fuzz.maker;
|
|
904
|
+
const gpa = maker.gpa;
|
|
904
905
|
const instance = &f.instances[id];
|
|
905
906
|
const run_index = f.run_index;
|
|
906
907
|
|
|
@@ -912,7 +913,7 @@ const FuzzTestRunner = struct {
|
|
|
912
913
|
instance.child.stdin = null;
|
|
913
914
|
const term = try instance.child.wait(io);
|
|
914
915
|
if (!termMatches(.{ .exited = 0 }, term)) {
|
|
915
|
-
step.
|
|
916
|
+
step.takeResultStderr(gpa, try f.mergedStderr(gpa));
|
|
916
917
|
try f.saveCrash(id, term);
|
|
917
918
|
return step.fail(maker, "test process unexpectedly {f}", .{fmtTerm(term)});
|
|
918
919
|
}
|
|
@@ -1055,7 +1056,7 @@ const FuzzTestRunner = struct {
|
|
|
1055
1056
|
}
|
|
1056
1057
|
}
|
|
1057
1058
|
|
|
1058
|
-
fn mergedStderr(f: *FuzzTestRunner,
|
|
1059
|
+
fn mergedStderr(f: *FuzzTestRunner, gpa: Allocator) Allocator.Error![]const u8 {
|
|
1059
1060
|
// Collect any available stderr
|
|
1060
1061
|
while (f.batch.next()) |completion| {
|
|
1061
1062
|
if (completion.index % 3 != 2) continue;
|
|
@@ -1065,7 +1066,7 @@ const FuzzTestRunner = struct {
|
|
|
1065
1066
|
|
|
1066
1067
|
var stderr_len: usize = 0;
|
|
1067
1068
|
for (f.instances) |*instance| stderr_len += instance.stderr.items.len;
|
|
1068
|
-
const stderr = try
|
|
1069
|
+
const stderr = try gpa.alloc(u8, stderr_len);
|
|
1069
1070
|
|
|
1070
1071
|
stderr_len = 0;
|
|
1071
1072
|
for (f.instances) |*instance| {
|
|
@@ -1086,13 +1087,12 @@ fn evalFuzzTest(
|
|
|
1086
1087
|
var f: FuzzTestRunner = try .init(run, run_index, fuzz_context, progress_node, spawn_options);
|
|
1087
1088
|
defer f.deinit();
|
|
1088
1089
|
try f.startInstances();
|
|
1089
|
-
try f.listen(
|
|
1090
|
+
try f.listen();
|
|
1090
1091
|
}
|
|
1091
1092
|
|
|
1092
1093
|
const StdioPollEnum = enum { stdout, stderr };
|
|
1093
1094
|
|
|
1094
1095
|
fn evalZigTest(
|
|
1095
|
-
arena: Allocator,
|
|
1096
1096
|
run: *Run,
|
|
1097
1097
|
run_index: Configuration.Step.Index,
|
|
1098
1098
|
maker: *Maker,
|
|
@@ -1140,7 +1140,7 @@ fn evalZigTest(
|
|
|
1140
1140
|
};
|
|
1141
1141
|
|
|
1142
1142
|
switch (try waitZigTest(
|
|
1143
|
-
arena,
|
|
1143
|
+
graph.arena,
|
|
1144
1144
|
run,
|
|
1145
1145
|
run_index,
|
|
1146
1146
|
maker,
|
|
@@ -1158,7 +1158,7 @@ fn evalZigTest(
|
|
|
1158
1158
|
error.ReadFailed => return stderr_fr.err.?,
|
|
1159
1159
|
error.EndOfStream => {},
|
|
1160
1160
|
}
|
|
1161
|
-
step.
|
|
1161
|
+
step.takeResultStderr(gpa, try multi_reader.toOwnedSlice(1));
|
|
1162
1162
|
|
|
1163
1163
|
// Clean up everything and wait for the child to exit.
|
|
1164
1164
|
child.stdin.?.close(io);
|
|
@@ -1180,8 +1180,9 @@ fn evalZigTest(
|
|
|
1180
1180
|
.no_poll => |no_poll| {
|
|
1181
1181
|
// This might be a success (we requested exit and the child dutifully closed stdout) or
|
|
1182
1182
|
// a crash of some kind. Either way, the child will terminate by itself -- wait for it.
|
|
1183
|
-
const
|
|
1184
|
-
|
|
1183
|
+
const stderr_owned = try multi_reader.toOwnedSlice(1);
|
|
1184
|
+
var keep_stderr_owned = false;
|
|
1185
|
+
defer if (!keep_stderr_owned) gpa.free(stderr_owned);
|
|
1185
1186
|
|
|
1186
1187
|
// Clean up everything and wait for the child to exit.
|
|
1187
1188
|
child.stdin.?.close(io);
|
|
@@ -1209,7 +1210,9 @@ fn evalZigTest(
|
|
|
1209
1210
|
}
|
|
1210
1211
|
|
|
1211
1212
|
// Report an error if the child terminated uncleanly or if we were still trying to run more tests.
|
|
1212
|
-
step.
|
|
1213
|
+
step.takeResultStderr(gpa, stderr_owned);
|
|
1214
|
+
keep_stderr_owned = true;
|
|
1215
|
+
|
|
1213
1216
|
const tests_done = test_metadata != null and test_metadata.?.next_index == std.math.maxInt(u32);
|
|
1214
1217
|
if (!tests_done or !termMatches(.{ .exited = 0 }, term)) {
|
|
1215
1218
|
// The individual unit test results are irrelevant: the test runner itself broke!
|
|
@@ -1234,9 +1237,10 @@ fn evalZigTest(
|
|
|
1234
1237
|
return;
|
|
1235
1238
|
},
|
|
1236
1239
|
.timeout => |timeout| {
|
|
1237
|
-
const
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
+
const stderr_owned = try multi_reader.toOwnedSlice(1);
|
|
1241
|
+
var keep_stderr_owned = false;
|
|
1242
|
+
defer if (!keep_stderr_owned) gpa.free(stderr_owned);
|
|
1243
|
+
|
|
1240
1244
|
if (timeout.active_test_index) |test_index| {
|
|
1241
1245
|
// A test was running. Report the timeout against that test, and continue on to
|
|
1242
1246
|
// the next test.
|
|
@@ -1245,16 +1249,20 @@ fn evalZigTest(
|
|
|
1245
1249
|
try step.addError(maker, "'{s}' timed out after {f}{s}{s}", .{
|
|
1246
1250
|
test_metadata.?.testName(test_index),
|
|
1247
1251
|
Io.Duration{ .nanoseconds = timeout.ns_elapsed },
|
|
1248
|
-
if (
|
|
1249
|
-
std.mem.trim(u8,
|
|
1252
|
+
if (stderr_owned.len != 0) " with stderr:\n" else "",
|
|
1253
|
+
std.mem.trim(u8, stderr_owned, "\n"),
|
|
1250
1254
|
});
|
|
1251
1255
|
continue;
|
|
1252
1256
|
}
|
|
1253
1257
|
// Just log an error and let the child be killed.
|
|
1254
|
-
step.
|
|
1258
|
+
step.takeResultStderr(gpa, stderr_owned);
|
|
1259
|
+
keep_stderr_owned = true;
|
|
1260
|
+
|
|
1255
1261
|
// The individual unit test results in `results` are irrelevant: the test runner
|
|
1256
1262
|
// is broken! Fail immediately without populating `s.test_results`.
|
|
1257
|
-
return step.fail(maker, "test runner failed to respond for {f}", .{
|
|
1263
|
+
return step.fail(maker, "test runner failed to respond for {f}", .{
|
|
1264
|
+
Io.Duration{ .nanoseconds = timeout.ns_elapsed },
|
|
1265
|
+
});
|
|
1258
1266
|
},
|
|
1259
1267
|
}
|
|
1260
1268
|
comptime unreachable;
|
|
@@ -1456,8 +1464,8 @@ fn evalGeneric(
|
|
|
1456
1464
|
|
|
1457
1465
|
try multi_reader.checkAnyError();
|
|
1458
1466
|
|
|
1459
|
-
stdout_bytes =
|
|
1460
|
-
stderr_bytes =
|
|
1467
|
+
stdout_bytes = multi_reader.reader(0).buffered();
|
|
1468
|
+
stderr_bytes = multi_reader.reader(1).buffered();
|
|
1461
1469
|
} else {
|
|
1462
1470
|
var stdout_reader = stdout.readerStreaming(io, &.{});
|
|
1463
1471
|
const stdio_limit: Io.Limit = if (conf_run.stdio_limit.value) |x| .limited64(x) else .unlimited;
|
|
@@ -1484,7 +1492,7 @@ fn evalGeneric(
|
|
|
1484
1492
|
else => true,
|
|
1485
1493
|
};
|
|
1486
1494
|
if (stderr_is_diagnostic) {
|
|
1487
|
-
step.
|
|
1495
|
+
try step.setResultStderr(maker.gpa, bytes);
|
|
1488
1496
|
}
|
|
1489
1497
|
};
|
|
1490
1498
|
|
|
@@ -2084,16 +2092,11 @@ fn runCommand(
|
|
|
2084
2092
|
},
|
|
2085
2093
|
else => {
|
|
2086
2094
|
// On failure, report captured stderr like normal standard error output.
|
|
2087
|
-
|
|
2088
|
-
.exited => |code| code != 0,
|
|
2089
|
-
.signal, .stopped, .unknown => true,
|
|
2090
|
-
};
|
|
2091
|
-
if (bad_exit) {
|
|
2095
|
+
if (!generic_result.term.success()) {
|
|
2092
2096
|
if (generic_result.stderr) |bytes| {
|
|
2093
|
-
step.
|
|
2097
|
+
try step.setResultStderr(gpa, bytes);
|
|
2094
2098
|
}
|
|
2095
2099
|
}
|
|
2096
|
-
|
|
2097
2100
|
try step.handleChildProcessTerm(maker, generic_result.term);
|
|
2098
2101
|
},
|
|
2099
2102
|
}
|
|
@@ -2135,13 +2138,13 @@ fn spawnChildAndCollect(
|
|
|
2135
2138
|
.inherit;
|
|
2136
2139
|
|
|
2137
2140
|
// If an error occurs, it's caused by this command:
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
.
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2141
|
+
const cwd_string = switch (child_cwd) {
|
|
2142
|
+
.path => |p| p,
|
|
2143
|
+
.dir => unreachable,
|
|
2144
|
+
.inherit => null,
|
|
2145
|
+
};
|
|
2146
|
+
errdefer step.setFailedCommand(gpa, argv, .{
|
|
2147
|
+
.cwd = cwd_string,
|
|
2145
2148
|
.child_env = environ_map,
|
|
2146
2149
|
.parent_env = &graph.environ_map,
|
|
2147
2150
|
});
|
|
@@ -2178,7 +2181,7 @@ fn spawnChildAndCollect(
|
|
|
2178
2181
|
|
|
2179
2182
|
if (conf_run.flags.stdio == .zig_test) {
|
|
2180
2183
|
const started: Io.Clock.Timestamp = .now(io, .awake);
|
|
2181
|
-
const result = evalZigTest(
|
|
2184
|
+
const result = evalZigTest(run, run_index, maker, progress_node, spawn_options, fuzz_context) catch |err| switch (err) {
|
|
2182
2185
|
error.Canceled => |e| return e,
|
|
2183
2186
|
else => |e| e,
|
|
2184
2187
|
};
|
|
@@ -2198,7 +2201,7 @@ fn spawnChildAndCollect(
|
|
|
2198
2201
|
try setColorEnvironmentVariables(&conf_run, environ_map, terminal_mode);
|
|
2199
2202
|
|
|
2200
2203
|
const started: Io.Clock.Timestamp = .now(io, .awake);
|
|
2201
|
-
const result = evalGeneric(
|
|
2204
|
+
const result = evalGeneric(arena, run_index, maker, spawn_options) catch |err| switch (err) {
|
|
2202
2205
|
error.Canceled => |e| return e,
|
|
2203
2206
|
else => |e| e,
|
|
2204
2207
|
};
|
|
@@ -112,7 +112,7 @@ pub fn make(
|
|
|
112
112
|
const pkg_conf_node = progress_node.start("pkg-config", 0);
|
|
113
113
|
defer pkg_conf_node.end();
|
|
114
114
|
|
|
115
|
-
if (PkgConfig.run(maker, step, pkg_conf_node, system_lib_name, force)) |result| {
|
|
115
|
+
if (PkgConfig.run(maker, step, arena, pkg_conf_node, system_lib_name, force)) |result| {
|
|
116
116
|
try argv.appendSlice(arena, result.cflags);
|
|
117
117
|
try argv.appendSlice(arena, result.libs);
|
|
118
118
|
try seen_system_libs.put(arena, system_lib.name, result.cflags);
|
package/compiler/Maker/Step.zig
CHANGED
|
@@ -54,8 +54,10 @@ dependants: std.ArrayList(Configuration.Step.Index) = .empty,
|
|
|
54
54
|
inputs: Inputs = .init,
|
|
55
55
|
pending_deps: u32 = undefined,
|
|
56
56
|
|
|
57
|
+
/// Array list and internal memory owned by process arena.
|
|
57
58
|
result_error_msgs: std.ArrayList([]const u8) = .empty,
|
|
58
59
|
result_error_bundle: std.zig.ErrorBundle = .empty,
|
|
60
|
+
/// Owned by `Maker.gpa`.
|
|
59
61
|
result_stderr: []const u8 = "",
|
|
60
62
|
result_cached: bool = false,
|
|
61
63
|
/// Indicates error information is missing due to allocation failure.
|
|
@@ -310,9 +312,8 @@ pub fn reset(step: *Step, maker: *Maker) void {
|
|
|
310
312
|
const gpa = maker.gpa;
|
|
311
313
|
|
|
312
314
|
clearFailedCommand(step, gpa);
|
|
313
|
-
|
|
315
|
+
clearResultStderr(step, gpa);
|
|
314
316
|
step.result_error_msgs.clearRetainingCapacity();
|
|
315
|
-
step.result_stderr = "";
|
|
316
317
|
step.result_cached = false;
|
|
317
318
|
step.result_duration_ns = null;
|
|
318
319
|
step.result_peak_rss = 0;
|
|
@@ -332,20 +333,23 @@ pub const CaptureChildProcessOptions = struct {
|
|
|
332
333
|
allow_failure: bool = false,
|
|
333
334
|
};
|
|
334
335
|
|
|
335
|
-
/// Populates `s.result_failed_command
|
|
336
|
-
pub fn captureChildProcess(
|
|
336
|
+
/// Populates `s.result_failed_command` unconditionally.
|
|
337
|
+
pub fn captureChildProcess(
|
|
338
|
+
s: *Step,
|
|
339
|
+
maker: *Maker,
|
|
340
|
+
allocator: Allocator,
|
|
341
|
+
options: CaptureChildProcessOptions,
|
|
342
|
+
) !std.process.RunResult {
|
|
337
343
|
const gpa = maker.gpa;
|
|
338
344
|
const graph = maker.graph;
|
|
339
|
-
const arena = graph.arena; // TODO stop leaking into process arena
|
|
340
345
|
const io = graph.io;
|
|
341
346
|
|
|
342
|
-
|
|
343
|
-
s.result_failed_command = try std.zig.allocPrintCmd(gpa, options.argv, .{});
|
|
347
|
+
s.setFailedCommand(gpa, options.argv, .{});
|
|
344
348
|
|
|
345
349
|
try handleChildProcUnsupported(s, maker);
|
|
346
350
|
try graph.handleVerbose(null, null, options.argv);
|
|
347
351
|
|
|
348
|
-
const result = std.process.run(
|
|
352
|
+
const result = std.process.run(allocator, io, .{
|
|
349
353
|
.argv = options.argv,
|
|
350
354
|
.environ_map = options.environ_map orelse &graph.environ_map,
|
|
351
355
|
.progress_node = options.progress_node,
|
|
@@ -358,7 +362,7 @@ pub fn captureChildProcess(s: *Step, maker: *Maker, options: CaptureChildProcess
|
|
|
358
362
|
return s.fail(maker, "failed to run {s}: {t}", .{ options.argv[0], err });
|
|
359
363
|
};
|
|
360
364
|
|
|
361
|
-
if (result.stderr.len > 0) try s.result_error_msgs.append(arena, result.stderr);
|
|
365
|
+
if (result.stderr.len > 0) try s.result_error_msgs.append(graph.arena, result.stderr);
|
|
362
366
|
|
|
363
367
|
return result;
|
|
364
368
|
}
|
|
@@ -375,6 +379,21 @@ pub fn clearFailedCommand(s: *Step, gpa: Allocator) void {
|
|
|
375
379
|
}
|
|
376
380
|
}
|
|
377
381
|
|
|
382
|
+
pub fn setFailedCommand(
|
|
383
|
+
s: *Step,
|
|
384
|
+
gpa: Allocator,
|
|
385
|
+
argv: []const []const u8,
|
|
386
|
+
options: std.zig.AllocPrintCmdOptions,
|
|
387
|
+
) void {
|
|
388
|
+
s.clearFailedCommand(gpa);
|
|
389
|
+
s.result_failed_command = std.zig.allocPrintCmd(gpa, argv, options) catch |err| switch (err) {
|
|
390
|
+
error.OutOfMemory => {
|
|
391
|
+
s.result_oom = true;
|
|
392
|
+
return;
|
|
393
|
+
},
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
|
|
378
397
|
pub const FailError = error{ OutOfMemory, MakeFailed };
|
|
379
398
|
|
|
380
399
|
pub fn fail(step: *Step, maker: *const Maker, comptime fmt: []const u8, args: anytype) FailError {
|
|
@@ -410,7 +429,8 @@ pub const ZigProcess = struct {
|
|
|
410
429
|
|
|
411
430
|
/// Assumes that argv contains `--listen=-` and that the process being spawned
|
|
412
431
|
/// is the zig compiler - the same version that compiled the build runner.
|
|
413
|
-
///
|
|
432
|
+
///
|
|
433
|
+
/// Populates `s.result_failed_command` on failure.
|
|
414
434
|
pub fn evalZigProcess(
|
|
415
435
|
step_index: Configuration.Step.Index,
|
|
416
436
|
maker: *Maker,
|
|
@@ -424,8 +444,7 @@ pub fn evalZigProcess(
|
|
|
424
444
|
const io = graph.io;
|
|
425
445
|
|
|
426
446
|
// If an error occurs, it's happened in this command:
|
|
427
|
-
|
|
428
|
-
s.result_failed_command = try std.zig.allocPrintCmd(gpa, argv, .{});
|
|
447
|
+
errdefer s.setFailedCommand(gpa, argv, .{});
|
|
429
448
|
|
|
430
449
|
if (s.getZigProcess()) |zp| update: {
|
|
431
450
|
assert(watch);
|
|
@@ -683,16 +702,12 @@ fn sendMessage(io: Io, file: Io.File, tag: std.zig.Client.Message.Tag) !void {
|
|
|
683
702
|
};
|
|
684
703
|
}
|
|
685
704
|
|
|
686
|
-
/// Asserts that the caller has already populated `s.result_failed_command`.
|
|
687
705
|
pub inline fn handleChildProcUnsupported(s: *Step, maker: *Maker) FailError!void {
|
|
688
|
-
assert(s.result_failed_command != null);
|
|
689
706
|
if (!std.process.can_spawn)
|
|
690
707
|
return s.fail(maker, "unable to spawn process: host cannot spawn child processes", .{});
|
|
691
708
|
}
|
|
692
709
|
|
|
693
|
-
/// Asserts that the caller has already populated `s.result_failed_command`.
|
|
694
710
|
pub fn handleChildProcessTerm(s: *Step, maker: *Maker, term: std.process.Child.Term) FailError!void {
|
|
695
|
-
assert(s.result_failed_command != null);
|
|
696
711
|
if (!term.success()) return s.fail(maker, "process {f}", .{term});
|
|
697
712
|
}
|
|
698
713
|
|
|
@@ -861,3 +876,19 @@ fn oomWrap(s: *Step, result: error{OutOfMemory}!void) void {
|
|
|
861
876
|
s.result_oom = true;
|
|
862
877
|
};
|
|
863
878
|
}
|
|
879
|
+
|
|
880
|
+
pub fn clearResultStderr(step: *Step, gpa: Allocator) void {
|
|
881
|
+
if (step.result_stderr.len != 0) {
|
|
882
|
+
gpa.free(step.result_stderr);
|
|
883
|
+
step.result_stderr = "";
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
pub fn setResultStderr(step: *Step, gpa: Allocator, bytes: []const u8) Allocator.Error!void {
|
|
888
|
+
takeResultStderr(step, gpa, try gpa.dupe(u8, bytes));
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
pub fn takeResultStderr(step: *Step, gpa: Allocator, owned: []const u8) void {
|
|
892
|
+
clearResultStderr(step, gpa);
|
|
893
|
+
step.result_stderr = owned;
|
|
894
|
+
}
|
package/compiler/Maker.zig
CHANGED
|
@@ -16,6 +16,7 @@ const fmt = std.fmt;
|
|
|
16
16
|
const log = std.log;
|
|
17
17
|
const mem = std.mem;
|
|
18
18
|
const process = std.process;
|
|
19
|
+
const Color = std.zig.Color;
|
|
19
20
|
|
|
20
21
|
const Fuzz = @import("Maker/Fuzz.zig");
|
|
21
22
|
const Graph = @import("Maker/Graph.zig");
|
|
@@ -55,12 +56,59 @@ error_style: ErrorStyle,
|
|
|
55
56
|
multiline_errors: MultilineErrors,
|
|
56
57
|
summary: Summary,
|
|
57
58
|
|
|
59
|
+
var safe_allocator_instance: std.heap.SafeAllocator = .init(std.heap.page_allocator, .{});
|
|
60
|
+
var stdio_buffer_allocation: [256]u8 = undefined;
|
|
61
|
+
var stdout_writer_allocation: Io.File.Writer = undefined;
|
|
62
|
+
var debug_maker_leaks: bool = false;
|
|
63
|
+
|
|
64
|
+
const is_debug_mode = builtin.mode == .Debug;
|
|
65
|
+
const use_safe_allocator = switch (builtin.mode) {
|
|
66
|
+
.Debug, .ReleaseSafe => true,
|
|
67
|
+
.ReleaseFast, .ReleaseSmall => false,
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
const InstallPaths = struct {
|
|
71
|
+
prefix: Path,
|
|
72
|
+
lib: Path,
|
|
73
|
+
bin: Path,
|
|
74
|
+
include: Path,
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
const PrintNode = struct {
|
|
78
|
+
parent: ?*PrintNode,
|
|
79
|
+
last: bool = false,
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const ErrorStyle = enum {
|
|
83
|
+
verbose,
|
|
84
|
+
minimal,
|
|
85
|
+
verbose_clear,
|
|
86
|
+
minimal_clear,
|
|
87
|
+
fn verboseContext(s: ErrorStyle) bool {
|
|
88
|
+
return switch (s) {
|
|
89
|
+
.verbose, .verbose_clear => true,
|
|
90
|
+
.minimal, .minimal_clear => false,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
fn clearOnUpdate(s: ErrorStyle) bool {
|
|
94
|
+
return switch (s) {
|
|
95
|
+
.verbose, .minimal => false,
|
|
96
|
+
.verbose_clear, .minimal_clear => true,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
const MultilineErrors = enum { indent, newline, none };
|
|
101
|
+
const Summary = enum { all, new, failures, line, none };
|
|
102
|
+
|
|
58
103
|
pub fn main(init: process.Init.Minimal) !void {
|
|
59
|
-
// The build runner is
|
|
60
|
-
//
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
const gpa =
|
|
104
|
+
// The build runner is long-lived in the following use cases:
|
|
105
|
+
// * `--watch` mode
|
|
106
|
+
// * `--webui` mode
|
|
107
|
+
// * A project that has a large, complex build graph.
|
|
108
|
+
const gpa = if (use_safe_allocator) safe_allocator_instance.allocator() else std.heap.smp_allocator;
|
|
109
|
+
defer if (use_safe_allocator) {
|
|
110
|
+
_ = safe_allocator_instance.deinit();
|
|
111
|
+
};
|
|
64
112
|
|
|
65
113
|
var threaded: std.Io.Threaded = .init(gpa, .{
|
|
66
114
|
.environ = init.environ,
|
|
@@ -689,13 +737,6 @@ fn countSubProcesses(maker: *Maker) usize {
|
|
|
689
737
|
return count;
|
|
690
738
|
}
|
|
691
739
|
|
|
692
|
-
const InstallPaths = struct {
|
|
693
|
-
prefix: Path,
|
|
694
|
-
lib: Path,
|
|
695
|
-
bin: Path,
|
|
696
|
-
include: Path,
|
|
697
|
-
};
|
|
698
|
-
|
|
699
740
|
pub fn stepByIndex(maker: *const Maker, i: Configuration.Step.Index) *Step {
|
|
700
741
|
return &maker.steps[@intFromEnum(i)];
|
|
701
742
|
}
|
|
@@ -1018,6 +1059,7 @@ fn makeStepNames(
|
|
|
1018
1059
|
fn deinit(maker: *Maker) void {
|
|
1019
1060
|
const gpa = maker.gpa;
|
|
1020
1061
|
for (maker.steps) |*step| {
|
|
1062
|
+
step.clearResultStderr(gpa);
|
|
1021
1063
|
step.clearFailedCommand(gpa);
|
|
1022
1064
|
step.clearErrorBundle(gpa);
|
|
1023
1065
|
step.inputs.deinit(gpa);
|
|
@@ -1424,11 +1466,6 @@ fn printStepFailure(
|
|
|
1424
1466
|
}
|
|
1425
1467
|
}
|
|
1426
1468
|
|
|
1427
|
-
const PrintNode = struct {
|
|
1428
|
-
parent: ?*PrintNode,
|
|
1429
|
-
last: bool = false,
|
|
1430
|
-
};
|
|
1431
|
-
|
|
1432
1469
|
fn printPrefix(node: *PrintNode, stderr: Io.Terminal) !void {
|
|
1433
1470
|
const parent = node.parent orelse return;
|
|
1434
1471
|
const writer = stderr.writer;
|
|
@@ -1657,28 +1694,6 @@ fn argsRest(args: []const [:0]const u8, idx: usize) ?[]const [:0]const u8 {
|
|
|
1657
1694
|
return args[idx..];
|
|
1658
1695
|
}
|
|
1659
1696
|
|
|
1660
|
-
const Color = std.zig.Color;
|
|
1661
|
-
const ErrorStyle = enum {
|
|
1662
|
-
verbose,
|
|
1663
|
-
minimal,
|
|
1664
|
-
verbose_clear,
|
|
1665
|
-
minimal_clear,
|
|
1666
|
-
fn verboseContext(s: ErrorStyle) bool {
|
|
1667
|
-
return switch (s) {
|
|
1668
|
-
.verbose, .verbose_clear => true,
|
|
1669
|
-
.minimal, .minimal_clear => false,
|
|
1670
|
-
};
|
|
1671
|
-
}
|
|
1672
|
-
fn clearOnUpdate(s: ErrorStyle) bool {
|
|
1673
|
-
return switch (s) {
|
|
1674
|
-
.verbose, .minimal => false,
|
|
1675
|
-
.verbose_clear, .minimal_clear => true,
|
|
1676
|
-
};
|
|
1677
|
-
}
|
|
1678
|
-
};
|
|
1679
|
-
const MultilineErrors = enum { indent, newline, none };
|
|
1680
|
-
const Summary = enum { all, new, failures, line, none };
|
|
1681
|
-
|
|
1682
1697
|
fn fatalWithHint(comptime f: []const u8, args: anytype) noreturn {
|
|
1683
1698
|
log.info("to access the help menu: zig build -h", .{});
|
|
1684
1699
|
fatal(f, args);
|
|
@@ -1701,9 +1716,6 @@ fn cleanTmpFiles(maker: *Maker, steps: []const Configuration.Step.Index) void {
|
|
|
1701
1716
|
}
|
|
1702
1717
|
}
|
|
1703
1718
|
|
|
1704
|
-
var stdio_buffer_allocation: [256]u8 = undefined;
|
|
1705
|
-
var stdout_writer_allocation: Io.File.Writer = undefined;
|
|
1706
|
-
|
|
1707
1719
|
fn initStdoutWriter(io: Io) *Writer {
|
|
1708
1720
|
stdout_writer_allocation = Io.File.stdout().writerStreaming(io, &stdio_buffer_allocation);
|
|
1709
1721
|
return &stdout_writer_allocation.interface;
|
|
@@ -2043,8 +2055,6 @@ fn removePoisonedConfiguration(io: Io, scanned_config: *const ScannedConfig) voi
|
|
|
2043
2055
|
}
|
|
2044
2056
|
}
|
|
2045
2057
|
|
|
2046
|
-
const is_debug_mode = builtin.mode == .Debug;
|
|
2047
|
-
var debug_maker_leaks: bool = false;
|
|
2048
2058
|
inline fn debugMakerLeaks() bool {
|
|
2049
2059
|
if (!is_debug_mode) return false;
|
|
2050
2060
|
return debug_maker_leaks;
|