pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tinygo: update to 0.31.2



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Wed Apr 24 23:52:55 2024 +0200
Changeset:	bc7d9d69c29b8b2e5ca3c7a5de36eae96edb033f

Modified Files:
	tinygo/Makefile
	tinygo/PLIST
	tinygo/distinfo
	tinygo/go-modules.mk
Added Files:
	tinygo/patches/patch-GNUmakefile
Removed Files:
	tinygo/patches/patch-Makefile

Log Message:
tinygo: update to 0.31.2

Supports Go 1.22 and LLVM 17

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bc7d9d69c29b8b2e5ca3c7a5de36eae96edb033f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tinygo/Makefile                  |  21 ++--
 tinygo/PLIST                     | 240 ++++++++++++++++++++++++++++++++++++++-
 tinygo/distinfo                  |  80 +++++++------
 tinygo/go-modules.mk             |  16 ++-
 tinygo/patches/patch-GNUmakefile |  25 ++++
 tinygo/patches/patch-Makefile    |  25 ----
 6 files changed, 326 insertions(+), 81 deletions(-)

diffs:
diff --git a/tinygo/Makefile b/tinygo/Makefile
index 8f08952222..905d7966cf 100644
--- a/tinygo/Makefile
+++ b/tinygo/Makefile
@@ -1,15 +1,15 @@
 # $NetBSD$
 
 GITHUB_TAG=	v${PKGVERSION_NOREV}
-DISTNAME=	tinygo-0.30.0
+DISTNAME=	tinygo-0.31.2
 CATEGORIES=	cross
 MASTER_SITES=	${MASTER_SITE_GITHUB:=tinygo-org/}
 
 GITHUB_SUBMODULES+=	NordicSemiConductor nrfx d779b49fc59c7a165e7da1d7cd7d57b28a059f16 lib/nrfx
 GITHUB_SUBMODULES+=	ARM-software CMSIS 9fe411cef1cef5de58e5957b89760759de44e393 lib/CMSIS
 GITHUB_SUBMODULES+=	avr-rust avr-mcu 6624554c02b237b23dc17d53e992bf54033fc228 lib/avr
-GITHUB_SUBMODULES+=	tinygo-org cmsis-svd df75ff974c76a911fc2815e29807f5ecaae06fc2 lib/cmsis-svd
-GITHUB_SUBMODULES+=	CraneStation wasi-libc 30094b6ed05f19cee102115215863d185f2db4f0 lib/wasi-libc
+GITHUB_SUBMODULES+=	cmsis-svd cmsis-svd-data 40327a4d2dff0992682be2872aaa6e096f35d2f4 lib/cmsis-svd
+GITHUB_SUBMODULES+=	WebAssembly wasi-libc 1dfe5c302d1c5ab621f7abf04620fae92700fd22 lib/wasi-libc
 GITHUB_SUBMODULES+=	keith-packard picolibc b92edfda8ac6853772d87cadaeeeaa21b78609b6 lib/picolibc
 GITHUB_SUBMODULES+=	tinygo-org stm32-svd e6db8e32d5d42293a528434ec12e7f88479a8649 lib/stm32-svd
 # musl: handled via distfile
@@ -17,6 +17,7 @@ GITHUB_SUBMODULES+=	tinygo-org stm32-svd e6db8e32d5d42293a528434ec12e7f88479a864
 GITHUB_SUBMODULES+=	mingw-w64 mingw-w64 8526cb618269440a94810b94b77f8bd48c5c3396 lib/mingw-w64
 GITHUB_SUBMODULES+=	aykevl macos-minimal-sdk ebb736fda2bec7cea38dcda807518b835a539525 lib/macos-minimal-sdk
 GITHUB_SUBMODULES+=	tinygo-org renesas-svd 03d76880854b9042f5d043f4355cdf8eef522fa5 lib/renesas-svd
+GITHUB_SUBMODULES+=	tinygo-org net a79417481d37e21f29d257c28fecc503df9703e0 src/net
 
 MAINTAINER=	tnn%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/tinygo-org/tinygo/
@@ -26,14 +27,14 @@ LICENSE=	modified-bsd AND apache-2.0
 DISTFILES=				${DEFAULT_DISTFILES}
 DISTFILES+=				musl-1.2.4.tar.gz
 SITES.musl-1.2.4.tar.gz=		https://www.musl-libc.org/releases/
-DISTFILES+=				esp-16.0.4-20231113.tar.gz
-SITES.esp-16.0.4-20231113.tar.gz=	https://github.com/espressif/llvm-project/archive/refs/tags/
+DISTFILES+=				esp-17.0.1_20240419.tar.gz
+SITES.esp-17.0.1_20240419.tar.gz=	https://github.com/espressif/llvm-project/archive/refs/tags/
 
 DEPENDS+=	binaryen-[0-9]*:../../devel/binaryen
 TOOL_DEPENDS+=	cmake-[0-9]*:../../devel/cmake
 TOOL_DEPENDS+=	ninja-build-[0-9]*:../../devel/ninja-build
 
-MAKE_ENV+=	GIT_SHA1=731532c
+MAKE_ENV+=	GIT_SHA1=6384ecac
 MAKE_ENV+=	USE_SYSTEM_BINARYEN=1
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake pax
@@ -47,10 +48,10 @@ CHECK_INTERPRETER_SKIP+=	tinygo/lib/picolibc/newlib/libc/tinystdio/make-dtoa-dat
 post-extract:
 	mv ${WRKDIR}/llvm-project* ${WRKSRC}/llvm-project
 	rm -rf ${WRKSRC}/lib/musl && mv ${WRKDIR}/musl* ${WRKSRC}/lib/musl
-	cp ${WRKDIR}/go.bug.st/serial@v1.6.0/serial_openbsd.go		\
-		${WRKDIR}/go.bug.st/serial@v1.6.0/serial_netbsd.go
-	cp ${WRKDIR}/go.bug.st/serial@v1.6.0/enumerator/usb_openbsd.go	\
-		${WRKDIR}/go.bug.st/serial@v1.6.0/enumerator/usb_netbsd.go
+#	cp ${WRKDIR}/go.bug.st/serial@v1.6.0/serial_openbsd.go		\
+#		${WRKDIR}/go.bug.st/serial@v1.6.0/serial_netbsd.go
+#	cp ${WRKDIR}/go.bug.st/serial@v1.6.0/enumerator/usb_openbsd.go	\
+#		${WRKDIR}/go.bug.st/serial@v1.6.0/enumerator/usb_netbsd.go
 
 do-build:
 .for t in llvm-build tinygo build/release
diff --git a/tinygo/PLIST b/tinygo/PLIST
index cd691cc33f..79341cdab6 100644
--- a/tinygo/PLIST
+++ b/tinygo/PLIST
@@ -38,6 +38,7 @@ tinygo/lib/clang/include/__wmmintrin_pclmul.h
 tinygo/lib/clang/include/adxintrin.h
 tinygo/lib/clang/include/altivec.h
 tinygo/lib/clang/include/ammintrin.h
+tinygo/lib/clang/include/amxcomplexintrin.h
 tinygo/lib/clang/include/amxfp16intrin.h
 tinygo/lib/clang/include/amxintrin.h
 tinygo/lib/clang/include/arm64intr.h
@@ -77,6 +78,7 @@ tinygo/lib/clang/include/avx512vpopcntdqvlintrin.h
 tinygo/lib/clang/include/avxifmaintrin.h
 tinygo/lib/clang/include/avxintrin.h
 tinygo/lib/clang/include/avxneconvertintrin.h
+tinygo/lib/clang/include/avxvnniint16intrin.h
 tinygo/lib/clang/include/avxvnniint8intrin.h
 tinygo/lib/clang/include/avxvnniintrin.h
 tinygo/lib/clang/include/bmi2intrin.h
@@ -137,11 +139,16 @@ tinygo/lib/clang/include/ptwriteintrin.h
 tinygo/lib/clang/include/raointintrin.h
 tinygo/lib/clang/include/rdpruintrin.h
 tinygo/lib/clang/include/rdseedintrin.h
+tinygo/lib/clang/include/riscv_ntlh.h
 tinygo/lib/clang/include/rtmintrin.h
 tinygo/lib/clang/include/s390intrin.h
 tinygo/lib/clang/include/serializeintrin.h
 tinygo/lib/clang/include/sgxintrin.h
+tinygo/lib/clang/include/sha512intrin.h
 tinygo/lib/clang/include/shaintrin.h
+tinygo/lib/clang/include/sifive_vector.h
+tinygo/lib/clang/include/sm3intrin.h
+tinygo/lib/clang/include/sm4intrin.h
 tinygo/lib/clang/include/smmintrin.h
 tinygo/lib/clang/include/stdalign.h
 tinygo/lib/clang/include/stdarg.h
@@ -176,6 +183,8 @@ tinygo/lib/clang/include/xsavecintrin.h
 tinygo/lib/clang/include/xsaveintrin.h
 tinygo/lib/clang/include/xsaveoptintrin.h
 tinygo/lib/clang/include/xsavesintrin.h
+tinygo/lib/clang/include/xtensa_defs.h
+tinygo/lib/clang/include/xtensa_protos.h
 tinygo/lib/clang/include/xtestintrin.h
 tinygo/lib/compiler-rt-builtins/CMakeLists.txt
 tinygo/lib/compiler-rt-builtins/Darwin-excludes/CMakeLists.txt
@@ -331,6 +340,8 @@ tinygo/lib/compiler-rt-builtins/comparedf2.c
 tinygo/lib/compiler-rt-builtins/comparesf2.c
 tinygo/lib/compiler-rt-builtins/comparetf2.c
 tinygo/lib/compiler-rt-builtins/cpu_model.c
+tinygo/lib/compiler-rt-builtins/crtbegin.c
+tinygo/lib/compiler-rt-builtins/crtend.c
 tinygo/lib/compiler-rt-builtins/ctzdi2.c
 tinygo/lib/compiler-rt-builtins/ctzsi2.c
 tinygo/lib/compiler-rt-builtins/ctzti2.c
@@ -1373,6 +1384,71 @@ tinygo/lib/musl/src/legacy/lutimes.c
 tinygo/lib/musl/src/legacy/ulimit.c
 tinygo/lib/musl/src/legacy/utmpx.c
 tinygo/lib/musl/src/legacy/valloc.c
+tinygo/lib/musl/src/linux/adjtime.c
+tinygo/lib/musl/src/linux/adjtimex.c
+tinygo/lib/musl/src/linux/arch_prctl.c
+tinygo/lib/musl/src/linux/brk.c
+tinygo/lib/musl/src/linux/cache.c
+tinygo/lib/musl/src/linux/cap.c
+tinygo/lib/musl/src/linux/chroot.c
+tinygo/lib/musl/src/linux/clock_adjtime.c
+tinygo/lib/musl/src/linux/clone.c
+tinygo/lib/musl/src/linux/copy_file_range.c
+tinygo/lib/musl/src/linux/epoll.c
+tinygo/lib/musl/src/linux/eventfd.c
+tinygo/lib/musl/src/linux/fallocate.c
+tinygo/lib/musl/src/linux/fanotify.c
+tinygo/lib/musl/src/linux/flock.c
+tinygo/lib/musl/src/linux/getdents.c
+tinygo/lib/musl/src/linux/getrandom.c
+tinygo/lib/musl/src/linux/gettid.c
+tinygo/lib/musl/src/linux/inotify.c
+tinygo/lib/musl/src/linux/ioperm.c
+tinygo/lib/musl/src/linux/iopl.c
+tinygo/lib/musl/src/linux/klogctl.c
+tinygo/lib/musl/src/linux/membarrier.c
+tinygo/lib/musl/src/linux/memfd_create.c
+tinygo/lib/musl/src/linux/mlock2.c
+tinygo/lib/musl/src/linux/module.c
+tinygo/lib/musl/src/linux/mount.c
+tinygo/lib/musl/src/linux/name_to_handle_at.c
+tinygo/lib/musl/src/linux/open_by_handle_at.c
+tinygo/lib/musl/src/linux/personality.c
+tinygo/lib/musl/src/linux/pivot_root.c
+tinygo/lib/musl/src/linux/ppoll.c
+tinygo/lib/musl/src/linux/prctl.c
+tinygo/lib/musl/src/linux/prlimit.c
+tinygo/lib/musl/src/linux/process_vm.c
+tinygo/lib/musl/src/linux/ptrace.c
+tinygo/lib/musl/src/linux/quotactl.c
+tinygo/lib/musl/src/linux/readahead.c
+tinygo/lib/musl/src/linux/reboot.c
+tinygo/lib/musl/src/linux/remap_file_pages.c
+tinygo/lib/musl/src/linux/sbrk.c
+tinygo/lib/musl/src/linux/sendfile.c
+tinygo/lib/musl/src/linux/setfsgid.c
+tinygo/lib/musl/src/linux/setfsuid.c
+tinygo/lib/musl/src/linux/setgroups.c
+tinygo/lib/musl/src/linux/sethostname.c
+tinygo/lib/musl/src/linux/setns.c
+tinygo/lib/musl/src/linux/settimeofday.c
+tinygo/lib/musl/src/linux/signalfd.c
+tinygo/lib/musl/src/linux/splice.c
+tinygo/lib/musl/src/linux/stime.c
+tinygo/lib/musl/src/linux/swap.c
+tinygo/lib/musl/src/linux/sync_file_range.c
+tinygo/lib/musl/src/linux/syncfs.c
+tinygo/lib/musl/src/linux/sysinfo.c
+tinygo/lib/musl/src/linux/tee.c
+tinygo/lib/musl/src/linux/timerfd.c
+tinygo/lib/musl/src/linux/unshare.c
+tinygo/lib/musl/src/linux/utimes.c
+tinygo/lib/musl/src/linux/vhangup.c
+tinygo/lib/musl/src/linux/vmsplice.c
+tinygo/lib/musl/src/linux/wait3.c
+tinygo/lib/musl/src/linux/wait4.c
+tinygo/lib/musl/src/linux/x32/sysinfo.c
+tinygo/lib/musl/src/linux/xattr.c
 tinygo/lib/musl/src/malloc/calloc.c
 tinygo/lib/musl/src/malloc/free.c
 tinygo/lib/musl/src/malloc/libc_calloc.c
@@ -3867,6 +3943,9 @@ tinygo/src/crypto/rand/rand_baremetal.go
 tinygo/src/crypto/rand/rand_urandom.go
 tinygo/src/crypto/rand/rand_windows.go
 tinygo/src/crypto/rand/util.go
+tinygo/src/crypto/tls/common.go
+tinygo/src/crypto/tls/ticket.go
+tinygo/src/crypto/tls/tls.go
 tinygo/src/device/arm/arm.go
 tinygo/src/device/arm/cortexm.S
 tinygo/src/device/arm/interrupts.c
@@ -4424,9 +4503,17 @@ tinygo/src/device/avr/avr.go
 tinygo/src/device/avr/avr_tiny85.go
 tinygo/src/device/esp/esp32.S
 tinygo/src/device/esp/esp32.go
+tinygo/src/device/esp/esp32c2.go
 tinygo/src/device/esp/esp32c3.S
 tinygo/src/device/esp/esp32c3.go
+tinygo/src/device/esp/esp32c6.go
+tinygo/src/device/esp/esp32c6lp.go
+tinygo/src/device/esp/esp32h2.go
+tinygo/src/device/esp/esp32p4.go
 tinygo/src/device/esp/esp32s2.go
+tinygo/src/device/esp/esp32s2ulp.go
+tinygo/src/device/esp/esp32s3.go
+tinygo/src/device/esp/esp32s3ulp.go
 tinygo/src/device/esp/esp8266.S
 tinygo/src/device/esp/esp8266.go
 tinygo/src/device/gba/gba.go
@@ -4489,15 +4576,25 @@ tinygo/src/device/nxp/lpc5410x.go
 tinygo/src/device/nxp/lpc5410x.s
 tinygo/src/device/nxp/lpc800.go
 tinygo/src/device/nxp/lpc800.s
+tinygo/src/device/nxp/mimxrt1011.go
+tinygo/src/device/nxp/mimxrt1011.s
+tinygo/src/device/nxp/mimxrt1021.go
+tinygo/src/device/nxp/mimxrt1021.s
+tinygo/src/device/nxp/mimxrt1052.go
+tinygo/src/device/nxp/mimxrt1052.s
 tinygo/src/device/nxp/mimxrt1062.go
 tinygo/src/device/nxp/mimxrt1062.s
 tinygo/src/device/nxp/mimxrt1062_clock.go
 tinygo/src/device/nxp/mimxrt1062_hardfault.go
 tinygo/src/device/nxp/mimxrt1062_mpu.go
+tinygo/src/device/nxp/mimxrt1064.go
+tinygo/src/device/nxp/mimxrt1064.s
 tinygo/src/device/nxp/mk22f25612.go
 tinygo/src/device/nxp/mk22f25612.s
 tinygo/src/device/nxp/mk22f51212.go
 tinygo/src/device/nxp/mk22f51212.s
+tinygo/src/device/nxp/mk64f12.go
+tinygo/src/device/nxp/mk64f12.s
 tinygo/src/device/nxp/mk65f18.go
 tinygo/src/device/nxp/mk65f18.s
 tinygo/src/device/nxp/mk66f18.go
@@ -4508,6 +4605,8 @@ tinygo/src/device/nxp/mkw41z4.go
 tinygo/src/device/nxp/mkw41z4.s
 tinygo/src/device/nxp/neom3.go
 tinygo/src/device/nxp/neom3.s
+tinygo/src/device/nxp/qn908xc.go
+tinygo/src/device/nxp/qn908xc.s
 tinygo/src/device/riscv/csr.go
 tinygo/src/device/riscv/handleinterrupt.S
 tinygo/src/device/riscv/riscv.go
@@ -4828,6 +4927,24 @@ tinygo/src/device/sam/atsaml11e15a.go
 tinygo/src/device/sam/atsaml11e15a.s
 tinygo/src/device/sam/atsaml11e16a.go
 tinygo/src/device/sam/atsaml11e16a.s
+tinygo/src/device/sam/atsaml22g16a.go
+tinygo/src/device/sam/atsaml22g16a.s
+tinygo/src/device/sam/atsaml22g17a.go
+tinygo/src/device/sam/atsaml22g17a.s
+tinygo/src/device/sam/atsaml22g18a.go
+tinygo/src/device/sam/atsaml22g18a.s
+tinygo/src/device/sam/atsaml22j16a.go
+tinygo/src/device/sam/atsaml22j16a.s
+tinygo/src/device/sam/atsaml22j17a.go
+tinygo/src/device/sam/atsaml22j17a.s
+tinygo/src/device/sam/atsaml22j18a.go
+tinygo/src/device/sam/atsaml22j18a.s
+tinygo/src/device/sam/atsaml22n16a.go
+tinygo/src/device/sam/atsaml22n16a.s
+tinygo/src/device/sam/atsaml22n17a.go
+tinygo/src/device/sam/atsaml22n17a.s
+tinygo/src/device/sam/atsaml22n18a.go
+tinygo/src/device/sam/atsaml22n18a.s
 tinygo/src/device/sam/atsamr21e16a.go
 tinygo/src/device/sam/atsamr21e16a.s
 tinygo/src/device/sam/atsamr21e17a.go
@@ -4842,6 +4959,66 @@ tinygo/src/device/sam/atsamr21g17a.go
 tinygo/src/device/sam/atsamr21g17a.s
 tinygo/src/device/sam/atsamr21g18a.go
 tinygo/src/device/sam/atsamr21g18a.s
+tinygo/src/device/sam/atsams70j19.go
+tinygo/src/device/sam/atsams70j19.s
+tinygo/src/device/sam/atsams70j19b.go
+tinygo/src/device/sam/atsams70j19b.s
+tinygo/src/device/sam/atsams70j20.go
+tinygo/src/device/sam/atsams70j20.s
+tinygo/src/device/sam/atsams70j20b.go
+tinygo/src/device/sam/atsams70j20b.s
+tinygo/src/device/sam/atsams70j21.go
+tinygo/src/device/sam/atsams70j21.s
+tinygo/src/device/sam/atsams70j21b.go
+tinygo/src/device/sam/atsams70j21b.s
+tinygo/src/device/sam/atsams70n19.go
+tinygo/src/device/sam/atsams70n19.s
+tinygo/src/device/sam/atsams70n19b.go
+tinygo/src/device/sam/atsams70n19b.s
+tinygo/src/device/sam/atsams70n20.go
+tinygo/src/device/sam/atsams70n20.s
+tinygo/src/device/sam/atsams70n20b.go
+tinygo/src/device/sam/atsams70n20b.s
+tinygo/src/device/sam/atsams70n21.go
+tinygo/src/device/sam/atsams70n21.s
+tinygo/src/device/sam/atsams70n21b.go
+tinygo/src/device/sam/atsams70n21b.s
+tinygo/src/device/sam/atsams70q19.go
+tinygo/src/device/sam/atsams70q19.s
+tinygo/src/device/sam/atsams70q19b.go
+tinygo/src/device/sam/atsams70q19b.s
+tinygo/src/device/sam/atsams70q20.go
+tinygo/src/device/sam/atsams70q20.s
+tinygo/src/device/sam/atsams70q20b.go
+tinygo/src/device/sam/atsams70q20b.s
+tinygo/src/device/sam/atsams70q21.go
+tinygo/src/device/sam/atsams70q21.s
+tinygo/src/device/sam/atsams70q21b.go
+tinygo/src/device/sam/atsams70q21b.s
+tinygo/src/device/sam/atsamv70j19.go
+tinygo/src/device/sam/atsamv70j19.s
+tinygo/src/device/sam/atsamv70j19b.go
+tinygo/src/device/sam/atsamv70j19b.s
+tinygo/src/device/sam/atsamv70j20.go
+tinygo/src/device/sam/atsamv70j20.s
+tinygo/src/device/sam/atsamv70j20b.go
+tinygo/src/device/sam/atsamv70j20b.s
+tinygo/src/device/sam/atsamv70n19.go
+tinygo/src/device/sam/atsamv70n19.s
+tinygo/src/device/sam/atsamv70n19b.go
+tinygo/src/device/sam/atsamv70n19b.s
+tinygo/src/device/sam/atsamv70n20.go
+tinygo/src/device/sam/atsamv70n20.s
+tinygo/src/device/sam/atsamv70n20b.go
+tinygo/src/device/sam/atsamv70n20b.s
+tinygo/src/device/sam/atsamv70q19.go
+tinygo/src/device/sam/atsamv70q19.s
+tinygo/src/device/sam/atsamv70q19b.go
+tinygo/src/device/sam/atsamv70q19b.s
+tinygo/src/device/sam/atsamv70q20.go
+tinygo/src/device/sam/atsamv70q20.s
+tinygo/src/device/sam/atsamv70q20b.go
+tinygo/src/device/sam/atsamv70q20b.s
 tinygo/src/device/sam/atsamv71j19.go
 tinygo/src/device/sam/atsamv71j19.s
 tinygo/src/device/sam/atsamv71j19b.go
@@ -5060,11 +5237,13 @@ tinygo/src/examples/caninterrupt/main.go
 tinygo/src/examples/dac/circuitplay_express.go
 tinygo/src/examples/dac/dac.go
 tinygo/src/examples/dac/pyportal.go
+tinygo/src/examples/device-id/main.go
 tinygo/src/examples/echo/echo.go
 tinygo/src/examples/echo2/echo2.go
 tinygo/src/examples/empty/main.go
 tinygo/src/examples/flash/main.go
 tinygo/src/examples/gba-display/gba-display.go
+tinygo/src/examples/hello-wasm-unknown/main.go
 tinygo/src/examples/hid-joystick/main.go
 tinygo/src/examples/hid-keyboard/main.go
 tinygo/src/examples/hid-mouse/main.go
@@ -5107,7 +5286,7 @@ tinygo/src/examples/time-offset/time-offset.go
 tinygo/src/examples/uart/uart.go
 tinygo/src/examples/usb-midi/main.go
 tinygo/src/examples/wasm/.gitignore
-tinygo/src/examples/wasm/Makefile
+tinygo/src/examples/wasm/GNUmakefile
 tinygo/src/examples/wasm/README.md
 tinygo/src/examples/wasm/callback/index.html
 tinygo/src/examples/wasm/callback/wasm.go
@@ -5170,6 +5349,7 @@ tinygo/src/machine/board_arduino_nano.go
 tinygo/src/machine/board_arduino_nano33.go
 tinygo/src/machine/board_arduino_zero.go
 tinygo/src/machine/board_atmega328p.go
+tinygo/src/machine/board_atmega328pb.go
 tinygo/src/machine/board_atsamd21.go
 tinygo/src/machine/board_atsame54-xpro.go
 tinygo/src/machine/board_badger2040.go
@@ -5219,6 +5399,7 @@ tinygo/src/machine/board_mdbt50qrx.go
 tinygo/src/machine/board_metro-m4-airlift.go
 tinygo/src/machine/board_microbit-v2.go
 tinygo/src/machine/board_microbit.go
+tinygo/src/machine/board_mksnanov3.go
 tinygo/src/machine/board_nano-33-ble.go
 tinygo/src/machine/board_nano-rp2040.go
 tinygo/src/machine/board_nicenano.go
@@ -5227,6 +5408,7 @@ tinygo/src/machine/board_nrf51.go
 tinygo/src/machine/board_nrf52840-mdk-usb-dongle.go
 tinygo/src/machine/board_nrf52840-mdk.go
 tinygo/src/machine/board_nrf52840.go
+tinygo/src/machine/board_nrf52840_generic.go
 tinygo/src/machine/board_nucleof103rb.go
 tinygo/src/machine/board_nucleof722ze.go
 tinygo/src/machine/board_nucleol031k6.go
@@ -5247,6 +5429,7 @@ tinygo/src/machine/board_pybadge.go
 tinygo/src/machine/board_pygamer.go
 tinygo/src/machine/board_pyportal.go
 tinygo/src/machine/board_qtpy.go
+tinygo/src/machine/board_qtpy_esp32c3.go
 tinygo/src/machine/board_qtpy_rp2040.go
 tinygo/src/machine/board_reelboard.go
 tinygo/src/machine/board_stm32f469disco.go
@@ -5256,6 +5439,7 @@ tinygo/src/machine/board_teensy36.go
 tinygo/src/machine/board_teensy40.go
 tinygo/src/machine/board_teensy41.go
 tinygo/src/machine/board_thingplus_rp2040.go
+tinygo/src/machine/board_thumby.go
 tinygo/src/machine/board_trinket.go
 tinygo/src/machine/board_trinkey_qt2040.go
 tinygo/src/machine/board_tufty2040.go
@@ -5267,6 +5451,9 @@ tinygo/src/machine/board_xiao-esp32c3.go
 tinygo/src/machine/board_xiao-rp2040.go
 tinygo/src/machine/board_xiao.go
 tinygo/src/machine/buffer.go
+tinygo/src/machine/buffer_atmega.go
+tinygo/src/machine/buffer_generic.go
+tinygo/src/machine/deviceid.go
 tinygo/src/machine/flash.go
 tinygo/src/machine/i2c.go
 tinygo/src/machine/i2s.go
@@ -5275,9 +5462,11 @@ tinygo/src/machine/machine_atmega.go
 tinygo/src/machine/machine_atmega1280.go
 tinygo/src/machine/machine_atmega1284p.go
 tinygo/src/machine/machine_atmega2560.go
+tinygo/src/machine/machine_atmega328.go
 tinygo/src/machine/machine_atmega328p.go
 tinygo/src/machine/machine_atmega328pb.go
 tinygo/src/machine/machine_atmega32u4.go
+tinygo/src/machine/machine_atsam.go
 tinygo/src/machine/machine_atsamd21.go
 tinygo/src/machine/machine_atsamd21_usb.go
 tinygo/src/machine/machine_atsamd21e18.go
@@ -5299,6 +5488,7 @@ tinygo/src/machine/machine_avrtiny.go
 tinygo/src/machine/machine_cortexm.go
 tinygo/src/machine/machine_esp32.go
 tinygo/src/machine/machine_esp32c3.go
+tinygo/src/machine/machine_esp32c3_i2c.go
 tinygo/src/machine/machine_esp32c3_spi.go
 tinygo/src/machine/machine_esp8266.go
 tinygo/src/machine/machine_fe310.go
@@ -5316,6 +5506,8 @@ tinygo/src/machine/machine_nrf52.go
 tinygo/src/machine/machine_nrf52833.go
 tinygo/src/machine/machine_nrf52840.go
 tinygo/src/machine/machine_nrf52840_enter_bootloader.go
+tinygo/src/machine/machine_nrf52840_lfxtal_false.go
+tinygo/src/machine/machine_nrf52840_lfxtal_true.go
 tinygo/src/machine/machine_nrf52840_usb.go
 tinygo/src/machine/machine_nrf52840_usb_reset_bossa.go
 tinygo/src/machine/machine_nrf52840_usb_reset_none.go
@@ -5384,6 +5576,7 @@ tinygo/src/machine/pdm.go
 tinygo/src/machine/pwm.go
 tinygo/src/machine/runtime.go
 tinygo/src/machine/serial-none.go
+tinygo/src/machine/serial-rtt.go
 tinygo/src/machine/serial-uart.go
 tinygo/src/machine/serial-usb.go
 tinygo/src/machine/serial.go
@@ -5425,22 +5618,44 @@ tinygo/src/machine/usb/hid/keyboard/keycode.go
 tinygo/src/machine/usb/hid/mouse/mouse.go
 tinygo/src/machine/usb/usb.go
 tinygo/src/machine/watchdog.go
-tinygo/src/net/conn_test.go
+tinygo/src/net/.gitignore
+tinygo/src/net/LICENSE
+tinygo/src/net/README.md
 tinygo/src/net/dial.go
-tinygo/src/net/errors.go
+tinygo/src/net/http/client.go
+tinygo/src/net/http/clone.go
+tinygo/src/net/http/cookie.go
+tinygo/src/net/http/fs.go
+tinygo/src/net/http/header.go
+tinygo/src/net/http/http.go
+tinygo/src/net/http/internal/ascii/print.go
+tinygo/src/net/http/internal/ascii/print_test.go
+tinygo/src/net/http/internal/chunked.go
+tinygo/src/net/http/internal/chunked_test.go
+tinygo/src/net/http/jar.go
+tinygo/src/net/http/method.go
+tinygo/src/net/http/request.go
+tinygo/src/net/http/response.go
+tinygo/src/net/http/server.go
+tinygo/src/net/http/sniff.go
+tinygo/src/net/http/status.go
+tinygo/src/net/http/transfer.go
+tinygo/src/net/http/transport.go
 tinygo/src/net/interface.go
-tinygo/src/net/interface_tinygo.go
 tinygo/src/net/ip.go
 tinygo/src/net/iprawsock.go
 tinygo/src/net/ipsock.go
+tinygo/src/net/lookup.go
 tinygo/src/net/mac.go
+tinygo/src/net/mac_test.go
 tinygo/src/net/net.go
+tinygo/src/net/netdev.go
 tinygo/src/net/parse.go
 tinygo/src/net/pipe.go
-tinygo/src/net/pipe_test.go
 tinygo/src/net/tcpsock.go
+tinygo/src/net/tlssock.go
 tinygo/src/net/udpsock.go
-tinygo/src/net/writev_test.go
+tinygo/src/net/unixsock.go
 tinygo/src/os/dir.go
 tinygo/src/os/dir_darwin.go
 tinygo/src/os/dir_other.go
@@ -5501,7 +5716,9 @@ tinygo/src/os/types.go
 tinygo/src/os/types_anyos.go
 tinygo/src/os/types_unix.go
 tinygo/src/os/types_windows.go
+tinygo/src/os/user/user.go
 tinygo/src/reflect/all_test.go
+tinygo/src/reflect/benchmark_test.go
 tinygo/src/reflect/convert_test.go
 tinygo/src/reflect/deepequal.go
 tinygo/src/reflect/export_test.go
@@ -5512,6 +5729,7 @@ tinygo/src/reflect/strconv.go
 tinygo/src/reflect/swapper.go
 tinygo/src/reflect/tostring_test.go
 tinygo/src/reflect/type.go
+tinygo/src/reflect/type_test.go
 tinygo/src/reflect/value.go
 tinygo/src/reflect/value_test.go
 tinygo/src/reflect/visiblefields.go
@@ -5600,6 +5818,8 @@ tinygo/src/runtime/panic.go
 tinygo/src/runtime/poll.go
 tinygo/src/runtime/pprof/pprof.go
 tinygo/src/runtime/print.go
+tinygo/src/runtime/rand_hwrng.go
+tinygo/src/runtime/rand_norng.go
 tinygo/src/runtime/runtime.go
 tinygo/src/runtime/runtime_arm7tdmi.go
 tinygo/src/runtime/runtime_atmega.go
@@ -5664,9 +5884,11 @@ tinygo/src/runtime/runtime_tinygoriscv.go
 tinygo/src/runtime/runtime_tinygoriscv64.go
 tinygo/src/runtime/runtime_tinygoriscv_qemu.go
 tinygo/src/runtime/runtime_tinygowasm.go
+tinygo/src/runtime/runtime_tinygowasm_unknown.go
 tinygo/src/runtime/runtime_unix.go
 tinygo/src/runtime/runtime_wasm_js.go
 tinygo/src/runtime/runtime_wasm_js_scheduler.go
+tinygo/src/runtime/runtime_wasm_unknown.go
 tinygo/src/runtime/runtime_wasm_wasi.go
 tinygo/src/runtime/runtime_windows.go
 tinygo/src/runtime/scheduler.go
@@ -5750,6 +5972,7 @@ tinygo/targets/atmega1280.json
 tinygo/targets/atmega1284p.json
 tinygo/targets/atmega2560.json
 tinygo/targets/atmega328p.json
+tinygo/targets/atmega328pb.json
 tinygo/targets/atmega32u4.json
 tinygo/targets/atsamd21.ld
 tinygo/targets/atsamd21e18a.json
@@ -5853,6 +6076,7 @@ tinygo/targets/microbit-v2-s113v7.json
 tinygo/targets/microbit-v2.json
 tinygo/targets/microbit.json
 tinygo/targets/mimxrt1062-teensy40.ld
+tinygo/targets/mksnanov3.json
 tinygo/targets/nano-33-ble-s140v6-uf2.json
 tinygo/targets/nano-33-ble-s140v7-uf2.json
 tinygo/targets/nano-33-ble-s140v7.json
@@ -5878,6 +6102,7 @@ tinygo/targets/nrf52833.json
 tinygo/targets/nrf52833.ld
 tinygo/targets/nrf52840-mdk-usb-dongle.json
 tinygo/targets/nrf52840-mdk.json
+tinygo/targets/nrf52840-s140v6-uf2-generic.json
 tinygo/targets/nrf52840-s140v6-uf2.json
 tinygo/targets/nrf52840-s140v6-uf2.ld
 tinygo/targets/nrf52840-s140v7-uf2.json
@@ -5912,6 +6137,7 @@ tinygo/targets/pinetime.json
 tinygo/targets/pybadge.json
 tinygo/targets/pygamer.json
 tinygo/targets/pyportal.json
+tinygo/targets/qtpy-esp32c3.json
 tinygo/targets/qtpy-rp2040-boot-stage2.S
 tinygo/targets/qtpy-rp2040.json
 tinygo/targets/qtpy.json
@@ -5952,12 +6178,14 @@ tinygo/targets/teensy40.json
 tinygo/targets/teensy40.s
 tinygo/targets/teensy41.json
 tinygo/targets/thingplus-rp2040.json
+tinygo/targets/thumby.json
 tinygo/targets/trinket-m0.json
 tinygo/targets/trinkey-qt2040-boot-stage2.S
 tinygo/targets/trinkey-qt2040.json
 tinygo/targets/tufty2040.json
 tinygo/targets/wasi.json
 tinygo/targets/wasm-undefined.txt
+tinygo/targets/wasm-unknown.json
 tinygo/targets/wasm.json
 tinygo/targets/wasm_exec.js
 tinygo/targets/waveshare-rp2040-zero.json
diff --git a/tinygo/distinfo b/tinygo/distinfo
index 4ee217a547..ac7a4a5cfa 100644
--- a/tinygo/distinfo
+++ b/tinygo/distinfo
@@ -3,24 +3,24 @@ $NetBSD$
 BLAKE2s (ARM-software-CMSIS-9fe411cef1cef5de58e5957b89760759de44e393.tar.gz) = 2547ce0a5b78798dd874cd618195c186784d088a47a1a1308e04fef22a0a3c7f
 SHA512 (ARM-software-CMSIS-9fe411cef1cef5de58e5957b89760759de44e393.tar.gz) = 16ea0634a3536ca58da9a1a9745d911f1183b5aef8a7fe09a45d4e57ec2a604042d4652a7778fd011b400c3755e51e9579f8aadfcfc5c7ebb4cbf2fafd998165
 Size (ARM-software-CMSIS-9fe411cef1cef5de58e5957b89760759de44e393.tar.gz) = 97368868 bytes
-BLAKE2s (CraneStation-wasi-libc-30094b6ed05f19cee102115215863d185f2db4f0.tar.gz) = 412d5e9d6d7eff90c401e125a245d86ea00a5543ad38a7a513b41d41583e8080
-SHA512 (CraneStation-wasi-libc-30094b6ed05f19cee102115215863d185f2db4f0.tar.gz) = 17492263fd5dca422f19e0ff8533e1f440e3b7516dc24ef0d16fdc44832cc63ec288c9e930f63b47fb71497144fed55cc313acc74339d067b8d4f5c7c683df0f
-Size (CraneStation-wasi-libc-30094b6ed05f19cee102115215863d185f2db4f0.tar.gz) = 1256806 bytes
 BLAKE2s (NordicSemiConductor-nrfx-d779b49fc59c7a165e7da1d7cd7d57b28a059f16.tar.gz) = ad5365f21a08933964925f23769dea089482ff855d92190f517baac8ffb0c581
 SHA512 (NordicSemiConductor-nrfx-d779b49fc59c7a165e7da1d7cd7d57b28a059f16.tar.gz) = 31c7fc6fd88d4a74e5739b29659cb717a4629480d17d84e491d61c36c435aba16d38ef63d1036e508666a17eeaac5f11a5ff83211f88410f30cc2e152146ee83
 Size (NordicSemiConductor-nrfx-d779b49fc59c7a165e7da1d7cd7d57b28a059f16.tar.gz) = 2424238 bytes
-BLAKE2s (WebAssembly-binaryen-11dba9b1c2ad988500b329727f39f4d8786918c5.tar.gz) = fdaa5b8a63e61273254a3e45f2608ce5c1dce1789b3e039c23addb39d6ef41dc
-SHA512 (WebAssembly-binaryen-11dba9b1c2ad988500b329727f39f4d8786918c5.tar.gz) = 1a96d95e2d63d3f5301195de591d239981d9015255516c8d1a889696c6d49b58c7902170f24506a5a326332b586941586a8c5aa2ee52f68329ba69dc3b5d0401
-Size (WebAssembly-binaryen-11dba9b1c2ad988500b329727f39f4d8786918c5.tar.gz) = 4795821 bytes
+BLAKE2s (WebAssembly-wasi-libc-1dfe5c302d1c5ab621f7abf04620fae92700fd22.tar.gz) = 024d22043f2c90f217a5ca1d9ec83f168a508bd8e0bdefaca2a1e4a66298602c
+SHA512 (WebAssembly-wasi-libc-1dfe5c302d1c5ab621f7abf04620fae92700fd22.tar.gz) = 6f813bc7822746c161932de6b84fb965111400a1a38c25dd0981209d588b9ccafe1a5923349110c536f1b7cda707dfa2d0be42c92b2fa6fd89c957eda27bda27
+Size (WebAssembly-wasi-libc-1dfe5c302d1c5ab621f7abf04620fae92700fd22.tar.gz) = 1310736 bytes
 BLAKE2s (avr-rust-avr-mcu-6624554c02b237b23dc17d53e992bf54033fc228.tar.gz) = 1ce07de153f1f7fe97aec04429360da5e4486ad9e501ff2ed72940c0bfec8582
 SHA512 (avr-rust-avr-mcu-6624554c02b237b23dc17d53e992bf54033fc228.tar.gz) = 1aa157bd761db38f8680614fa1cf47d7009508f65291b7eaaa5aba1ae76d35103f68a42947b7269a170d2f1cf8fb09941a5d74070fe6d204b68dd15a9ad2ed29
 Size (avr-rust-avr-mcu-6624554c02b237b23dc17d53e992bf54033fc228.tar.gz) = 3486718 bytes
 BLAKE2s (aykevl-macos-minimal-sdk-ebb736fda2bec7cea38dcda807518b835a539525.tar.gz) = 94d6ab9d22b78d0c8c9f571e813f1df305c3a2b422372c25d281676df4c449e1
 SHA512 (aykevl-macos-minimal-sdk-ebb736fda2bec7cea38dcda807518b835a539525.tar.gz) = 2f97d5826c79116c851e1efde74faf806de56ac8acc5509d1ab7690d0edf88f6e227b273d2c5ef7d894a8ada2e316e285ef4e58d74ca0c6f91584653154eae10
 Size (aykevl-macos-minimal-sdk-ebb736fda2bec7cea38dcda807518b835a539525.tar.gz) = 267048 bytes
-BLAKE2s (esp-16.0.4-20231113.tar.gz) = 218106ae93f02979f2d0dc1083f750b6441e026a1f25e4f14f92f608ed1fa2c3
-SHA512 (esp-16.0.4-20231113.tar.gz) = 5dca27acc6ac343e1bc5b471a8d2711237d883b7da08e186691b38a49a95853a33dd8d9e286fbebc7da7bc01ab7c3e89e25a91503be507246b0ed85780e470cf
-Size (esp-16.0.4-20231113.tar.gz) = 179517560 bytes
+BLAKE2s (cmsis-svd-cmsis-svd-data-40327a4d2dff0992682be2872aaa6e096f35d2f4.tar.gz) = 624b6518e771594bce982d347eef95c0a98df148cb60916c7fbca9bf85e00b44
+SHA512 (cmsis-svd-cmsis-svd-data-40327a4d2dff0992682be2872aaa6e096f35d2f4.tar.gz) = a1dbd3e733c4890202bc30a90bec92b6b9a752d50304d29f2161654ba2f28ca89f3772aa92df35d75d6d31f958fe36cb27c1c1c474cac48f8b019d149dfb5c61
+Size (cmsis-svd-cmsis-svd-data-40327a4d2dff0992682be2872aaa6e096f35d2f4.tar.gz) = 254435720 bytes
+BLAKE2s (esp-17.0.1_20240419.tar.gz) = d4f9769bcaaf214e5b2877f1678403b9e3459546d6ee0ecd5b1bc4f7bc4418ae
+SHA512 (esp-17.0.1_20240419.tar.gz) = 5b43bd471bb74fe6ae4df237c11c66e18445c1b8345f1684df37a993f7a36540d3fa79641de4bea9df71d52d8d9c107b3044cd90c106363f1a16ae4e4c751a4b
+Size (esp-17.0.1_20240419.tar.gz) = 195384163 bytes
 BLAKE2s (github.com_aykevl_go-wasm_@v_v0.0.2-0.20220616010729-4a0a888aebdc.mod) = 346968f487678e07ab8716130357df7bfcd0fa5615a673ade5c95d74c0c8da5b
 SHA512 (github.com_aykevl_go-wasm_@v_v0.0.2-0.20220616010729-4a0a888aebdc.mod) = 1f998258d352cf87e1a4cfaa4f6d2b72cf320e3f4861bd75a1afdd91b3339a886fe19c4d4ef8a389e3e1558c50c4bdcfaa9882fe61b4cd797055f09967c0e3fe
 Size (github.com_aykevl_go-wasm_@v_v0.0.2-0.20220616010729-4a0a888aebdc.mod) = 42 bytes
@@ -159,6 +159,12 @@ Size (go.bug.st_serial_@v_v1.6.0.mod) = 345 bytes
 BLAKE2s (go.bug.st_serial_@v_v1.6.0.zip) = 373fc89d0408f42fbd9cbbcaf626dc762096d7cc30409b51c9782f254639ac73
 SHA512 (go.bug.st_serial_@v_v1.6.0.zip) = a00ef2e00909d2eea2c4672c943226d49236866a7f0e1755838e1b689dd1a6a36848cce6202231ea82c05e004b805ba7c74127b2ba6ad75eedaae5f12eb2d80a
 Size (go.bug.st_serial_@v_v1.6.0.zip) = 44016 bytes
+BLAKE2s (golang.org_x_net_@v_v0.20.0.mod) = e04bf21e9b11b1e193589cfaad0943ef9951b898e61dea31df391f4e9a3e0ae6
+SHA512 (golang.org_x_net_@v_v0.20.0.mod) = f99807bacc50042929cad5fe3c9d7b71e02aa598445f95965e6dd1cc8e78e561529326e0a139eb8f719305a885317108bf66d28480755b199d0ad633bafa144d
+Size (golang.org_x_net_@v_v0.20.0.mod) = 155 bytes
+BLAKE2s (golang.org_x_net_@v_v0.20.0.zip) = cca6133f738ed5c20d29e50393d8a4e0a5e02fd33bfc2a6597713b831bc9ea90
+SHA512 (golang.org_x_net_@v_v0.20.0.zip) = 3c37e6ec12947da91ffbcab66fcb40e706691608ce1af1d22e9cacdefa9f5b74a9920786f06e838ee83a9143e3ebd20c26f699d7f9bdc695719a5f4607f966aa
+Size (golang.org_x_net_@v_v0.20.0.zip) = 1868707 bytes
 BLAKE2s (golang.org_x_sys_@v_v0.0.0-20190222072716-a9d3bda3a223.mod) = aa44bc87b37c614a717cf692f23966b8babf30a09e6039a89eb6cc5b2943af87
 SHA512 (golang.org_x_sys_@v_v0.0.0-20190222072716-a9d3bda3a223.mod) = ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
 Size (golang.org_x_sys_@v_v0.0.0-20190222072716-a9d3bda3a223.mod) = 24 bytes
@@ -180,18 +186,24 @@ Size (golang.org_x_sys_@v_v0.0.0-20201207223542-d4d67f95c62d.mod) = 33 bytes
 BLAKE2s (golang.org_x_sys_@v_v0.0.0-20211124211545-fe61309f8881.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
 SHA512 (golang.org_x_sys_@v_v0.0.0-20211124211545-fe61309f8881.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
 Size (golang.org_x_sys_@v_v0.0.0-20211124211545-fe61309f8881.mod) = 33 bytes
-BLAKE2s (golang.org_x_sys_@v_v0.11.0.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
-SHA512 (golang.org_x_sys_@v_v0.11.0.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
-Size (golang.org_x_sys_@v_v0.11.0.mod) = 33 bytes
-BLAKE2s (golang.org_x_sys_@v_v0.11.0.zip) = a7030dbbafa59e59e6fb763b05c75773f60f3dfa7e528fc8b5672d84b6e1ec68
-SHA512 (golang.org_x_sys_@v_v0.11.0.zip) = 4e7fd1190bf5fba46249b6d7d3b3dbe34fdde77eabb4e041fe9ad80db5e9c4f5a257f3c3443125e275a48989ee93c8185e2e8cbea2fbe1dcfcc12d885bbe42f8
-Size (golang.org_x_sys_@v_v0.11.0.zip) = 1906917 bytes
-BLAKE2s (golang.org_x_tools_@v_v0.12.0.mod) = 18832d13711f80c76c2da17f3d823724e51d3a5759ea6cc40e75c25a8e83563d
-SHA512 (golang.org_x_tools_@v_v0.12.0.mod) = a312b1f0c10f61b84283e027ac338c2584ca7582147030b2a661167d8497878c46c5136222c34ed470b1cd4f881849eb17546405085aa60ae9ff8dbce7a3f80e
-Size (golang.org_x_tools_@v_v0.12.0.mod) = 214 bytes
-BLAKE2s (golang.org_x_tools_@v_v0.12.0.zip) = 10a3670b40c02e1cbfba6010b0d8eb4cb318091ee735d1fdaab78c85a2d10bd5
-SHA512 (golang.org_x_tools_@v_v0.12.0.zip) = a91cdc417ace676a84451975285d9ee7b52bdda051a1561646e43624f52570677ca07ade4d8fc2c7211a2584fe0a6c36a7a3e1fa543788e4c481e6f8ea21619f
-Size (golang.org_x_tools_@v_v0.12.0.zip) = 3029508 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.16.0.mod) = 546db01fa3b030f3f3b5f8d3674bc29d1f026a60a57e474fff3e1cd44fe694a1
+SHA512 (golang.org_x_sys_@v_v0.16.0.mod) = ec229018bf6fa169913d0c66821fc296766b8a71720123e8d8cfcf5b8b8da110e338d03b8233b1224b8586ea9d9e4231b9720c1f806d4be2523413c521acf97b
+Size (golang.org_x_sys_@v_v0.16.0.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.16.0.zip) = f24aed4816e410667a969a9cad5e4bbc98b112ff60fe0a26326a09f6aebbe119
+SHA512 (golang.org_x_sys_@v_v0.16.0.zip) = 7ed2338bf9d919df90b3d1d67cd1d959e8741ab4d82e33ffc50b05d08ea4ae243d1cafdde2b57173f5348f5386b520edefaa5abbc484971534e9e9e02c7f0132
+Size (golang.org_x_sys_@v_v0.16.0.zip) = 1902594 bytes
+BLAKE2s (golang.org_x_text_@v_v0.14.0.mod) = 41aa03dda094edbe86480c3bb1e96f134c984b2f6af2790bb8545d511df4e0a8
+SHA512 (golang.org_x_text_@v_v0.14.0.mod) = c51e7660e628e383c698fc48e2ac0c38e10ef3ccfb15c92e45279dfecf9897433a245294f3a2430637800d8ff6e23fa9257b0aa6b4f1eac7c135fadc76afd808
+Size (golang.org_x_text_@v_v0.14.0.mod) = 197 bytes
+BLAKE2s (golang.org_x_text_@v_v0.14.0.zip) = 46d6a390df754335eb06a8297643c50eaef200ee73ef515738e129d0832c7132
+SHA512 (golang.org_x_text_@v_v0.14.0.zip) = 0e29712dbc578d83797b27a7ce03b01e554c2ae0a8e8c4b88fca4759002494ba6615aac28aa8507912f39e7d85c41b8a689ec9d695f67a1f172c203929fb4bea
+Size (golang.org_x_text_@v_v0.14.0.zip) = 9235236 bytes
+BLAKE2s (golang.org_x_tools_@v_v0.17.0.mod) = 125cb657f21418985f2fe41a96faf9f214d13a02663c754da53fd7c66f037a72
+SHA512 (golang.org_x_tools_@v_v0.17.0.mod) = 3c993a8fb020fa29eb2abe6ea6c6f14a6b5196607205203bc4c9ada0ac99e1aed290e26849fe2a7c9d09b6de37121f3483b19c14054b0b076fc690aca0d0906a
+Size (golang.org_x_tools_@v_v0.17.0.mod) = 168 bytes
+BLAKE2s (golang.org_x_tools_@v_v0.17.0.zip) = e93b2f135bc3a25c1e212956cf2938208f5508c2b04fd0f37ca6ac0407a7a2df
+SHA512 (golang.org_x_tools_@v_v0.17.0.zip) = 4e37f98c6a12df91ef29a3229e9131e305dd31bdda561b6b63c9682d18527a1cecc7c4dec27fbb3baa32d652b82cc62d7751c3c203f939d01dde9a9df7b2a079
+Size (golang.org_x_tools_@v_v0.17.0.zip) = 3148561 bytes
 BLAKE2s (gopkg.in_check.v1_@v_v0.0.0-20161208181325-20d25e280405.mod) = 35cd1964700502d06b8c987979fb4dbddc41a5cda3368d037211b89d3587521f
 SHA512 (gopkg.in_check.v1_@v_v0.0.0-20161208181325-20d25e280405.mod) = 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
 Size (gopkg.in_check.v1_@v_v0.0.0-20161208181325-20d25e280405.mod) = 25 bytes
@@ -210,29 +222,29 @@ Size (mingw-w64-mingw-w64-8526cb618269440a94810b94b77f8bd48c5c3396.tar.gz) = 134
 BLAKE2s (musl-1.2.4.tar.gz) = d1b79c85a99bc7097592d552c95a680946a321f710a28da48749be87f7165b71
 SHA512 (musl-1.2.4.tar.gz) = 498ec5d7941194a8806f4d42f0f6d218c862996ef1398b737d0d06995e0b7a6574b240a48088f6b84016b14b2776fe463f829dcb11149cdfc1023d496b235c55
 Size (musl-1.2.4.tar.gz) = 1063758 bytes
-BLAKE2s (tinygo-0.30.0.tar.gz) = 7dd7c4f1c799fa2aac7f11e74f7b8a976447b437f452efff6bb8ce2e324b1b9c
-SHA512 (tinygo-0.30.0.tar.gz) = 91c4b6a578d5730e6915d48c69f567b814d5d1201150df053f116b78be5c29553f2fa8bf05f4565ffb7d1acabc58819a1f0ef2beea9830c4cb99d69116ac4fee
-Size (tinygo-0.30.0.tar.gz) = 1145571 bytes
-BLAKE2s (tinygo-org-cmsis-svd-df75ff974c76a911fc2815e29807f5ecaae06fc2.tar.gz) = dde6711e729c704567a7b4cfbaa8f979e8ed8abbc92aa748849e140d29d47346
-SHA512 (tinygo-org-cmsis-svd-df75ff974c76a911fc2815e29807f5ecaae06fc2.tar.gz) = be627efc183d044b2b83eb8d73d8b8a51930b18ff8cb255f734a8a563f578261afb33c686c8a007ba214022944684436fc3247f6cc115fbc905587e06a1b62ed
-Size (tinygo-org-cmsis-svd-df75ff974c76a911fc2815e29807f5ecaae06fc2.tar.gz) = 60577288 bytes
+BLAKE2s (tinygo-0.31.2.tar.gz) = eb3b5f86bd32753297a8dbd08a2c094175ab8766bd0dd291326bedffe18952e0
+SHA512 (tinygo-0.31.2.tar.gz) = 2dd6a201e709b221c67dfc97b09b81e1a6c08c2b356d4d1a3495249b516806b8953c2b7e4db39ba2780f0bf6267b22933e6568013842814d9b618d50c7bdb6a9
+Size (tinygo-0.31.2.tar.gz) = 1177106 bytes
+BLAKE2s (tinygo-org-net-a79417481d37e21f29d257c28fecc503df9703e0.tar.gz) = 39cd8b0f202cd06f22f76fd741a15c370423c214226466851c8609935915fb8d
+SHA512 (tinygo-org-net-a79417481d37e21f29d257c28fecc503df9703e0.tar.gz) = a82d69a0fdfb0fd733c6a0db8598b375d2243f9560a03fa1fc2138bb75abead5295bc7822becf51af14d0ccc9b08cf81ccc0291e93e80ce35182e07fb1700961
+Size (tinygo-org-net-a79417481d37e21f29d257c28fecc503df9703e0.tar.gz) = 116517 bytes
 BLAKE2s (tinygo-org-renesas-svd-03d76880854b9042f5d043f4355cdf8eef522fa5.tar.gz) = 5e75c8ba468c704601f40acdf653981b8fa4e6543c1b975ae6d56a31cfd66331
 SHA512 (tinygo-org-renesas-svd-03d76880854b9042f5d043f4355cdf8eef522fa5.tar.gz) = 6cfd48386a421ef6b549755dc80f5b8306db25514a4ae3c4152570e699835f404d5fb0929fc80fac105f21bf93f052109a5920f42df4177efec9b991bf9fcfba
 Size (tinygo-org-renesas-svd-03d76880854b9042f5d043f4355cdf8eef522fa5.tar.gz) = 3102924 bytes
 BLAKE2s (tinygo-org-stm32-svd-e6db8e32d5d42293a528434ec12e7f88479a8649.tar.gz) = 9f917340b2ffcc6d1f679b7404f708507186b6d95d22761fa177f3559e44bc42
 SHA512 (tinygo-org-stm32-svd-e6db8e32d5d42293a528434ec12e7f88479a8649.tar.gz) = 1cb961281f84efeef380cc215dbd505194da424ddc30214479fc79f1b1e7142f2a75b5bb6f45f97dc400434d6c4a4ee6320caeffbeda5beaa7519a3520acaaa4
 Size (tinygo-org-stm32-svd-e6db8e32d5d42293a528434ec12e7f88479a8649.tar.gz) = 10472508 bytes
-BLAKE2s (tinygo.org_x_go-llvm_@v_v0.0.0-20230918183930-9edb6403d0bc.mod) = ed509255cb4820e16d89d87834fbd423687605be41a197934312961e93a5b30c
-SHA512 (tinygo.org_x_go-llvm_@v_v0.0.0-20230918183930-9edb6403d0bc.mod) = dadc6ab255b01aa0421f1c17342ce348ef5c317c9274f74153ef2ea913c4d8386fd33f395de1841cdba1e06b697c88a79267cb3bfc2edf4aac50b59b91fa3e6a
-Size (tinygo.org_x_go-llvm_@v_v0.0.0-20230918183930-9edb6403d0bc.mod) = 37 bytes
-BLAKE2s (tinygo.org_x_go-llvm_@v_v0.0.0-20230918183930-9edb6403d0bc.zip) = 993fc243ad2bff46ca6d3568ac74bffe2915c831db06fa998dff822d04132624
-SHA512 (tinygo.org_x_go-llvm_@v_v0.0.0-20230918183930-9edb6403d0bc.zip) = 642e46d3c5cde22bcca5b28117c26a0c454cac03429f8de7f6a5a762113f489650750cfbb6351e5045f83615be87b3d4c1ebc9e9d8f7b01310644b76bb8b5186
-Size (tinygo.org_x_go-llvm_@v_v0.0.0-20230918183930-9edb6403d0bc.zip) = 52105 bytes
+BLAKE2s (tinygo.org_x_go-llvm_@v_v0.0.0-20240106122909-c2c543540318.mod) = ed509255cb4820e16d89d87834fbd423687605be41a197934312961e93a5b30c
+SHA512 (tinygo.org_x_go-llvm_@v_v0.0.0-20240106122909-c2c543540318.mod) = dadc6ab255b01aa0421f1c17342ce348ef5c317c9274f74153ef2ea913c4d8386fd33f395de1841cdba1e06b697c88a79267cb3bfc2edf4aac50b59b91fa3e6a
+Size (tinygo.org_x_go-llvm_@v_v0.0.0-20240106122909-c2c543540318.mod) = 37 bytes
+BLAKE2s (tinygo.org_x_go-llvm_@v_v0.0.0-20240106122909-c2c543540318.zip) = 84f3b8a4acd89f9b86b1cf57cdd09c9d4baaa84a2ff40403937c8bd26aec74e0
+SHA512 (tinygo.org_x_go-llvm_@v_v0.0.0-20240106122909-c2c543540318.zip) = 71f3d83b35154589108f9ac5347b539e255401904c2254d3ca4e421d2026e56060b8b05a1315dd15b4fa415ce85d2e47b20586c958d8d7d71665ebea20650b01
+Size (tinygo.org_x_go-llvm_@v_v0.0.0-20240106122909-c2c543540318.zip) = 53554 bytes
 SHA1 (patch-.._go.bug.st_serial_serial__resetbuf__linux__bsd.go) = c1564c1e70764672f2d677daca9989cc05f2e03f
 SHA1 (patch-.._go.bug.st_serial_serial__unix.go) = 9c09cfb29d05b1be659da0bdc764c298387241bc
 SHA1 (patch-.._go.bug.st_serial_unixutils_pipe.go) = d99b072e6c725fe6a8dbb0fea02b11a0f5c2d523
 SHA1 (patch-.._go.bug.st_serial_unixutils_select.go) = e8192f834ec3b9788c4f5faa35afc7c68b393761
-SHA1 (patch-Makefile) = 57d7d33b97aacaae3d85f43224dc74e020a13427
+SHA1 (patch-GNUmakefile) = 6ce0fe94b0af3ff101d7a5707364b5f9dfd2e921
 SHA1 (patch-builder_buildid.go) = 747b6cfdae7c00eeb062650f56da5ecc67dc4d10
 SHA1 (patch-go.mod) = 9847e5d4bddca4f73936bb746b5374ad9d3ae11a
 SHA1 (patch-main.go) = 876fc346d206f369e57b2cb2255bb2e2e01d3d6b
diff --git a/tinygo/go-modules.mk b/tinygo/go-modules.mk
index 054fe31951..3f8e2215b4 100644
--- a/tinygo/go-modules.mk
+++ b/tinygo/go-modules.mk
@@ -46,6 +46,8 @@ GO_MODULE_FILES+=	github.com/sigurn/crc16/@v/v0.0.0-20211026045750-20ab5afb07e3.
 GO_MODULE_FILES+=	github.com/sigurn/crc16/@v/v0.0.0-20211026045750-20ab5afb07e3.zip
 GO_MODULE_FILES+=	go.bug.st/serial/@v/v1.6.0.mod
 GO_MODULE_FILES+=	go.bug.st/serial/@v/v1.6.0.zip
+GO_MODULE_FILES+=	golang.org/x/net/@v/v0.20.0.mod
+GO_MODULE_FILES+=	golang.org/x/net/@v/v0.20.0.zip
 GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20190222072716-a9d3bda3a223.mod
 GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20191008105621-543471e840be.mod
 GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20191120155948-bd437916bb0e.mod
@@ -53,12 +55,14 @@ GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20200116001909-b77594299b42.mod
 GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20200223170610-d5e6a3e2c0ae.mod
 GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20201207223542-d4d67f95c62d.mod
 GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20211124211545-fe61309f8881.mod
-GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.11.0.mod
-GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.11.0.zip
-GO_MODULE_FILES+=	golang.org/x/tools/@v/v0.12.0.mod
-GO_MODULE_FILES+=	golang.org/x/tools/@v/v0.12.0.zip
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.16.0.mod
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.16.0.zip
+GO_MODULE_FILES+=	golang.org/x/text/@v/v0.14.0.mod
+GO_MODULE_FILES+=	golang.org/x/text/@v/v0.14.0.zip
+GO_MODULE_FILES+=	golang.org/x/tools/@v/v0.17.0.mod
+GO_MODULE_FILES+=	golang.org/x/tools/@v/v0.17.0.zip
 GO_MODULE_FILES+=	gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.mod
 GO_MODULE_FILES+=	gopkg.in/yaml.v2/@v/v2.4.0.mod
 GO_MODULE_FILES+=	gopkg.in/yaml.v2/@v/v2.4.0.zip
-GO_MODULE_FILES+=	tinygo.org/x/go-llvm/@v/v0.0.0-20230918183930-9edb6403d0bc.mod
-GO_MODULE_FILES+=	tinygo.org/x/go-llvm/@v/v0.0.0-20230918183930-9edb6403d0bc.zip
+GO_MODULE_FILES+=	tinygo.org/x/go-llvm/@v/v0.0.0-20240106122909-c2c543540318.mod
+GO_MODULE_FILES+=	tinygo.org/x/go-llvm/@v/v0.0.0-20240106122909-c2c543540318.zip
diff --git a/tinygo/patches/patch-GNUmakefile b/tinygo/patches/patch-GNUmakefile
new file mode 100644
index 0000000000..8425e32fa5
--- /dev/null
+++ b/tinygo/patches/patch-GNUmakefile
@@ -0,0 +1,25 @@
+$NetBSD$
+
+- Don't depend on git
+- fix PLIST issue with macOS cp(1)
+
+--- GNUmakefile.orig	2024-04-24 12:27:26.921792168 +0000
++++ GNUmakefile
+@@ -281,7 +281,7 @@ endif
+ # Build the Go compiler.
+ tinygo:
+ 	@if [ ! -f "$(LLVM_BUILDDIR)/bin/llvm-config" ]; then echo "Fetch and build LLVM first by running:"; echo "  $(MAKE) llvm-source"; echo "  $(MAKE) $(LLVM_BUILDDIR)"; exit 1; fi
+-	CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GOENVFLAGS) $(GO) build -buildmode exe -o build/tinygo$(EXE) -tags "byollvm osusergo" -ldflags="-X github.com/tinygo-org/tinygo/goenv.GitSha1=`git rev-parse --short HEAD`" .
++	CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GOENVFLAGS) $(GO) build -buildmode exe -o build/tinygo$(EXE) -tags "byollvm osusergo" -ldflags="-X github.com/tinygo-org/tinygo/goenv.GitSha1=$(GIT_SHA1)" .
+ test: wasi-libc check-nodejs-version
+ 	CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test $(GOTESTFLAGS) -timeout=20m -buildmode exe -tags "byollvm osusergo" ./builder ./cgo ./compileopts ./compiler ./interp ./transform .
+ 
+@@ -858,7 +858,7 @@ endif
+ 	@cp -rp lib/mingw-w64/mingw-w64-crt/def-include                 build/release/tinygo/lib/mingw-w64/mingw-w64-crt
+ 	@cp -rp lib/mingw-w64/mingw-w64-crt/lib-common/api-ms-win-crt-* build/release/tinygo/lib/mingw-w64/mingw-w64-crt/lib-common
+ 	@cp -rp lib/mingw-w64/mingw-w64-crt/lib-common/kernel32.def.in  build/release/tinygo/lib/mingw-w64/mingw-w64-crt/lib-common
+-	@cp -rp lib/mingw-w64/mingw-w64-headers/crt/                    build/release/tinygo/lib/mingw-w64/mingw-w64-headers
++	@cp -rp lib/mingw-w64/mingw-w64-headers/crt                     build/release/tinygo/lib/mingw-w64/mingw-w64-headers
+ 	@cp -rp lib/mingw-w64/mingw-w64-headers/defaults/include        build/release/tinygo/lib/mingw-w64/mingw-w64-headers/defaults
+ 	@cp -rp lib/nrfx/*                   build/release/tinygo/lib/nrfx
+ 	@cp -rp lib/picolibc/newlib/libc/ctype       build/release/tinygo/lib/picolibc/newlib/libc
diff --git a/tinygo/patches/patch-Makefile b/tinygo/patches/patch-Makefile
deleted file mode 100644
index 2abc16a1cf..0000000000
--- a/tinygo/patches/patch-Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD$
-
-- Don't depend on git
-- fix PLIST issue with macOS cp(1)
-
---- Makefile.orig	2023-09-21 06:03:16.000000000 +0000
-+++ Makefile
-@@ -281,7 +281,7 @@ endif
- # Build the Go compiler.
- tinygo:
- 	@if [ ! -f "$(LLVM_BUILDDIR)/bin/llvm-config" ]; then echo "Fetch and build LLVM first by running:"; echo "  make llvm-source"; echo "  make $(LLVM_BUILDDIR)"; exit 1; fi
--	CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GOENVFLAGS) $(GO) build -buildmode exe -o build/tinygo$(EXE) -tags "byollvm osusergo" -ldflags="-X github.com/tinygo-org/tinygo/goenv.GitSha1=`git rev-parse --short HEAD`" .
-+	CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GOENVFLAGS) $(GO) build -buildmode exe -o build/tinygo$(EXE) -tags "byollvm osusergo" -ldflags="-X github.com/tinygo-org/tinygo/goenv.GitSha1=$(GIT_SHA1)" .
- test: wasi-libc check-nodejs-version
- 	CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test $(GOTESTFLAGS) -timeout=20m -buildmode exe -tags "byollvm osusergo" ./builder ./cgo ./compileopts ./compiler ./interp ./transform .
- 
-@@ -846,7 +846,7 @@ endif
- 	@cp -rp lib/mingw-w64/mingw-w64-crt/def-include                 build/release/tinygo/lib/mingw-w64/mingw-w64-crt
- 	@cp -rp lib/mingw-w64/mingw-w64-crt/lib-common/api-ms-win-crt-* build/release/tinygo/lib/mingw-w64/mingw-w64-crt/lib-common
- 	@cp -rp lib/mingw-w64/mingw-w64-crt/lib-common/kernel32.def.in  build/release/tinygo/lib/mingw-w64/mingw-w64-crt/lib-common
--	@cp -rp lib/mingw-w64/mingw-w64-headers/crt/                    build/release/tinygo/lib/mingw-w64/mingw-w64-headers
-+	@cp -rp lib/mingw-w64/mingw-w64-headers/crt                    build/release/tinygo/lib/mingw-w64/mingw-w64-headers
- 	@cp -rp lib/mingw-w64/mingw-w64-headers/defaults/include        build/release/tinygo/lib/mingw-w64/mingw-w64-headers/defaults
- 	@cp -rp lib/nrfx/*                   build/release/tinygo/lib/nrfx
- 	@cp -rp lib/picolibc/newlib/libc/ctype       build/release/tinygo/lib/picolibc/newlib/libc



Home | Main Index | Thread Index | Old Index