pkgsrc-WIP-changes archive

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

rust: update to version 1.71.0.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Fri Jul 14 14:14:47 2023 +0000
Changeset:	ab12bf13a1655417a1aeb97074d7d445f2a2fd2f

Modified Files:
	rust/Makefile
	rust/distinfo
	rust/patches/patch-src_bootstrap_bootstrap.py
	rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs
	rust/patches/patch-vendor_crossbeam-epoch_no__atomic.rs
	rust/patches/patch-vendor_crossbeam-utils_no__atomic.rs
	rust/patches/patch-vendor_openssl-src_src_lib.rs
Added Files:
	rust/TODO
	rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_bnetbsd_riscv64.rs
	rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_imps.rs
	rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_mod.rs
	rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mips.rs
	rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mod.rs
	rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlikek_netbsd_riscv64.rs

Log Message:
rust: update to version 1.71.0.

This is slightly unfinished...  A native build on NetBSD/amd64 succeeds,
but a cross-build (anything which builds the internal LLVM) will fail
due to RPATH issues with args containing $ORIGIN/../lib.  See TODO for
details.

Once that issue is sorted out, there may be further checksum substitutions
which need updating in Makefile.

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

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

diffstat:
 rust/Makefile                                      |  85 ++++----
 rust/TODO                                          |  59 +++++
 rust/distinfo                                      | 238 +++++++++++----------
 rust/patches/patch-src_bootstrap_bootstrap.py      |  38 ++--
 ...atch-src_tools_cargo_src_cargo_core_profiles.rs |  12 +-
 .../patch-vendor_crossbeam-epoch_no__atomic.rs     |  12 +-
 .../patch-vendor_crossbeam-utils_no__atomic.rs     |  12 +-
 ....140_src_unix_bsd_netbsdlike_bnetbsd_riscv64.rs |  29 +++
 ...-0.2.140_src_unix_bsd_netbsdlike_netbsd_imps.rs |  29 +++
 ...c-0.2.140_src_unix_bsd_netbsdlike_netbsd_mod.rs |  44 ++++
 ...-0.2.143_src_unix_bsd_netbsdlike_netbsd_mips.rs |  29 +++
 ...c-0.2.143_src_unix_bsd_netbsdlike_netbsd_mod.rs |  44 ++++
 ....143_src_unix_bsd_netbsdlikek_netbsd_riscv64.rs |  29 +++
 rust/patches/patch-vendor_openssl-src_src_lib.rs   |  20 +-
 14 files changed, 473 insertions(+), 207 deletions(-)

diffs:
diff --git a/rust/Makefile b/rust/Makefile
index 11c4e0019e..18b1597ff2 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.284 2023/06/19 14:46:47 bsiegert Exp $
 
-DISTNAME=	rustc-1.70.0-src
+DISTNAME=	rustc-1.71.0-src
 PKGNAME=	${DISTNAME:S/rustc/rust/:S/-src//}
 CATEGORIES=	lang
 MASTER_SITES=	https://static.rust-lang.org/dist/
@@ -211,49 +211,49 @@ BUILDLINK_TRANSFORM+=	opt:x86_64:arm64
 DISTFILES:=		${DEFAULT_DISTFILES}
 
 .if ${MACHINE_PLATFORM:MDarwin-*-aarch64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH:=		aarch64-apple-darwin
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 DISTFILES:=		${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MDarwin-*-x86_64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH:=		x86_64-apple-darwin
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 DISTFILES:=		${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-aarch64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH:=		aarch64-unknown-linux-gnu
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 DISTFILES:=		${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-earmv6hf} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH:=		arm-unknown-linux-gnueabihf
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 DISTFILES:=		${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-earmv7hf} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH:=		armv7-unknown-linux-gnueabihf
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 DISTFILES:=		${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-i386} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH:=		i686-unknown-linux-gnu
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 DISTFILES:=		${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-x86_64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH:=		x86_64-unknown-linux-gnu
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -278,14 +278,14 @@ CONFIGURE_ARGS+=	--host=${RUST_ARCH}
 CONFIGURE_ARGS+=	--target=${RUST_ARCH}
 .endif
 .if ${MACHINE_PLATFORM:MFreeBSD-*-x86_64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH:=		x86_64-unknown-freebsd
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 DISTFILES:=		${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-i386} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH=		i586-unknown-netbsd
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
@@ -305,14 +305,14 @@ pre-build-fix-paxctl:
 	${TOOLS_PLATFORM.paxctl} +am ${WRKDIR}/rust-bootstrap/bin/rustc
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-x86_64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH=		x86_64-unknown-netbsd
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 DISTFILES:=		${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-powerpc} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.69.0
+RUST_STAGE0_VER=	1.70.0
 RUST_ARCH=		powerpc-unknown-netbsd
 
 # Cross-built against NetBSD 9.0
@@ -335,7 +335,7 @@ SITES.${RUST_STD_STAGE0}=	${MASTER_SITE_LOCAL:=rust/}
 
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-aarch64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=		1.69.0
+RUST_STAGE0_VER=		1.70.0
 RUST_ARCH=			aarch64-unknown-netbsd
 RUST_STAGE0:=			rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=		rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
@@ -344,7 +344,7 @@ SITES.${RUST_STAGE0}=		${MASTER_SITE_LOCAL:=rust/}
 SITES.${RUST_STD_STAGE0}=	${MASTER_SITE_LOCAL:=rust/}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-aarch64eb} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=		1.69.0
+RUST_STAGE0_VER=		1.70.0
 RUST_ARCH=			aarch64_be-unknown-netbsd
 RUST_STAGE0:=			rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=		rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
@@ -353,7 +353,7 @@ SITES.${RUST_STAGE0}=		${MASTER_SITE_LOCAL:=rust/}
 SITES.${RUST_STD_STAGE0}=	${MASTER_SITE_LOCAL:=rust/}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-sparc64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=		1.69.0
+RUST_STAGE0_VER=		1.70.0
 RUST_ARCH=			sparc64-unknown-netbsd
 RUST_STAGE0:=			rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=		rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
@@ -363,7 +363,7 @@ SITES.${RUST_STD_STAGE0}=	${MASTER_SITE_LOCAL:=rust/}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-earmv7hf} || make(distinfo) || make (makesum) || make(mdi)
 RUST_ARCH=			armv7-unknown-netbsd-eabihf
-RUST_STAGE0_VER=		1.69.0
+RUST_STAGE0_VER=		1.70.0
 RUST_STAGE0:=			rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=		rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 DISTFILES:=			${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
@@ -372,7 +372,7 @@ SITES.${RUST_STD_STAGE0}=	${MASTER_SITE_LOCAL:=rust/}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-earmv6hf} || make(distinfo) || make (makesum) || make(mdi)
 RUST_ARCH=			armv6-unknown-netbsd-eabihf
-RUST_STAGE0_VER=		1.69.0
+RUST_STAGE0_VER=		1.70.0
 RUST_STAGE0:=			rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=		rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 DISTFILES:=			${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
@@ -381,7 +381,7 @@ SITES.${RUST_STD_STAGE0}=	${MASTER_SITE_LOCAL:=rust/}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-mipsel} || make(distinfo) || make (makesum) || make(mdi)
 RUST_ARCH=			mipsel-unknown-netbsd
-RUST_STAGE0_VER=		1.69.0
+RUST_STAGE0_VER=		1.70.0
 RUST_STAGE0:=			rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=		rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 DISTFILES:=			${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
@@ -437,16 +437,28 @@ CKSUM_CRATES+=	vendor/cc-1.0.77
 CKSUMS+=	2403bbe39ff511ea5a517c0841d825173a4fdc8a0899c64282bba49127f0dc33
 CKSUMS+=	2b7150f466b9e0617b2c3755450db2090232f27561687d462b0a8ac0518fce87
 
+CKSUM_CRATES+=	vendor/cc
+CKSUMS+=	17a4659710aa290c4ed9c23063c7b202c5bcf2a84de33aa1f01fc6fded69a1f8
+CKSUMS+=	a19bcb1a561d4ba5846f8f89fcfe6f05a3cb2e79baf8f21f53f0fba012db1b7f
+
 CKSUM_CRATES+=	vendor/libc
-CKSUMS+=	6442ed05eb390d44a03daa9800af1030f2ee3e61db98675262c227b28de51937
-CKSUMS+=	ec554c837999c718786debfcfe2241984193751fcd52156323b418d96319aa95
-CKSUMS+=	4493317993af390d8aafc2cb7ace4c349dfc9d2451fd666844f04a4fa1f47442
-CKSUMS+=	e5414483c02597e67a0aa27db7501f1a98c43ffee0151aa320586dded51f41cb
+CKSUMS+=	247154ad4f5e5114a2bb572bff0d157ed3b937a373759146b7d0f2900203293b
+CKSUMS+=	a23a255e9793ecf674ddb8cdb5ea9b71999d1bddbaf26bf930e425aa6d2a8bc7
+CKSUMS+=	55ce4624745e31ad226b47fde177a46176a89da3fa5030663673a115102471f9
+CKSUMS+=	09ab15cd50245f4ced230b7919657ab170e06443bb0ed4baf4449d3472f5f656
 
 CKSUM_CRATES+=	vendor/libc-0.2.139
 CKSUMS+=	107a4aa396b8383c66e0ace2f941450b4b69146558cdc4d9fbe33eeab51760f1
 CKSUMS+=	4be83bef456569d59405edf134e7fe8eff78f3fe35f1efd60e15405d5c822725
 
+CKSUM_CRATES+=	vendor/libc-0.2.140
+CKSUMS+=	4493317993af390d8aafc2cb7ace4c349dfc9d2451fd666844f04a4fa1f47442
+CKSUMS+=	e5414483c02597e67a0aa27db7501f1a98c43ffee0151aa320586dded51f41cb
+
+CKSUM_CRATES+=	vendor/libc-0.2.143
+CKSUMS+=	88e7667202668ca4f7e63b22b56b3d15e78ecc1481d3528ede6ef4728cafa1b4
+CKSUMS+=	8f32aab5222247a2afbd7b96c4c48d744a941567d07484fda9fe6a5aae54b75d
+
 CKSUM_CRATES+=	vendor/lzma-sys
 CKSUMS+=	6fd5e9245db34c6f557b8bfcaf03db82fc88c3b06dbfbb5f03b2bcd138983ef9
 CKSUMS+=	5e252578b5d266f6a4c8dc9f71ca7a91536ccb8c5c7d7753b82f12ec886459ef
@@ -455,26 +467,25 @@ CKSUM_CRATES+=	vendor/stacker
 CKSUMS+=	59ca847887cf19387119d18c57f08d5a8520d714876ca0142b8f1c001ecde06b
 CKSUMS+=	03be8ae293b713fe6e9703e4809dd68caaec992bae6777914ffddae8da2a9bc7
 
-CKSUM_CRATES+=	vendor/crossbeam-epoch
 CKSUM_CRATES+=	vendor/crossbeam-utils
-CKSUMS+=	3314524d2afa0360c947455a6e6566fb54ebf909c99479ca3b7435741fd3293e
-CKSUMS+=	ea445a2f85068957d0347fa384c8f9c7c2726a65e930f4352d1b10476cddd851
-CKSUMS+=	f58085b9d0666ccf62e0ae17fb5dae937c0a86fcc55dc0ae04ad8659e696a49c
-CKSUMS+=	ea445a2f85068957d0347fa384c8f9c7c2726a65e930f4352d1b10476cddd851
+CKSUMS+=	c291992d273abba165579ada7873c34ce4f3674363a7c1ec092be856beac0355
+CKSUMS+=	63f1cd23943d58f217afa37a0760ede63d6b51a67e886d3c69819103955d3cb3
 
 CKSUM_CRATES+=	vendor/openssl-src
+CKSUMS+=	683c9ed1a7953f7f9da43412010de95ba733860a18bc28a4fc3cbcc6ac93c4d7
+CKSUMS+=	d83220880699d6a4d9a4e265d19b7896ca4dc7235e3e2f546c5fa06222bdc258
 CKSUMS+=	090744f85cf99a9b8412c23fca1eabb61eb45d830f0f9f0e7309be2572c1e827
 CKSUMS+=	4261f87c06e6505afd9f7bdafe5aebdd153a1c6f928203cec2dd125642d60fc1
-CKSUMS+=	9aeed598f844ca5b63cf222052b44fc643d6cb47a879c286b46c34bbbba618df
-CKSUMS+=	20ce1c7048d0f1168a5a00e7608c8da2205a6bbdd906f69c1f5a0e6e173db8ea
-
-CKSUM_CRATES+=	vendor/openssl-sys
-CKSUMS+=	d04538b63898180949bc7d9ced4806395011a3f6c5d374d4ebfdf2b30cd9cc33
-CKSUMS+=	5972bc8c1549820108b53df23ee1a9fb7c3d40c2c198a855a5afdf563cbafb26
-CKSUMS+=	1f9233e5993c3537767d39b66fa5a43f5268a9bf89b70884886652cfa7e869c6
-CKSUMS+=	93dd56b8ea8c24678cf390232a1de7bbf0de64a5eaa40da95848e22e611c6dcb
-CKSUMS+=	5b3f48d529657f212e69883f9d3f599d0e1fc9a64f1389cc3760029b4ad6a423
-CKSUMS+=	ab6b0ec78a2eefeaf0fc5f45afa783fa254d5efe856401c0b34d4d05ef9b3dd4
+
+#CKSUM_CRATES+=	vendor/openssl-sys
+#CKSUMS+=	d04538b63898180949bc7d9ced4806395011a3f6c5d374d4ebfdf2b30cd9cc33
+#CKSUMS+=	5972bc8c1549820108b53df23ee1a9fb7c3d40c2c198a855a5afdf563cbafb26
+#CKSUMS+=	1f9233e5993c3537767d39b66fa5a43f5268a9bf89b70884886652cfa7e869c6
+#CKSUMS+=	93dd56b8ea8c24678cf390232a1de7bbf0de64a5eaa40da95848e22e611c6dcb
+#CKSUMS+=	5b3f48d529657f212e69883f9d3f599d0e1fc9a64f1389cc3760029b4ad6a423
+#CKSUMS+=	ab6b0ec78a2eefeaf0fc5f45afa783fa254d5efe856401c0b34d4d05ef9b3dd4
+#CKSUMS+=	3e85a6080a0dc2753eb1e03768ae8bae13996588898efca363c742f9c438d6e0
+#CKSUMS+=	5972bc8c1549820108b53df23ee1a9fb7c3d40c2c198a855a5afdf563cbafb26
 
 CKSUM_CRATES+=	vendor/nix
 CKSUMS+=	c3e13a2edea54d190a4b051f62efc97953c00b5051a9fda0e39e3bc732a31939
diff --git a/rust/TODO b/rust/TODO
new file mode 100644
index 0000000000..2427731e71
--- /dev/null
+++ b/rust/TODO
@@ -0,0 +1,59 @@
+Sort out cross compilation issues, which build the internal LLVM.
+This currently fails with
+
+-- Installing: /usr/pkgsrc/wip/rust/work/rustc-1.71.0-src/build/x86_64-unknown-netbsd/llvm/bin/llvm-tblgen
+CMake Error at utils/TableGen/cmake_install.cmake:50 (file):
+  file RPATH_CHANGE could not write new RPATH:
+
+    $ORIGIN/../lib
+
+  to the file:
+
+    /usr/pkgsrc/wip/rust/work/rustc-1.71.0-src/build/x86_64-unknown-netbsd/llvm/bin/llvm-tblgen
+
+  The current RPATH is:
+
+    /usr/pkg/lib
+
+  which does not contain:
+
+    $ORIGIN/../lib:
+
+  as was expected.
+Call Stack (most recent call first):
+  cmake_install.cmake:63 (include)
+
+I suspect we are running afoul of cwrapper, which tends to drop arguments
+which contains relative paths.  work/.work.log has as the two last entries
+
+[*] c++ -O2 ... -o ../../bin/llvm-reduce '-Wl,-rpath,$ORIGIN/../lib:'
+
+while the last line has
+
+<.> /usr/pkgsrc/wip/rust/work/.gcc/bin/g++ ... \
+	-o ../../bin/llvm-reduce ../../lib/libLLVMAArch64AsmParser.a ...
+
+i.e. the entry with $ORIGIN is dropped by cwrappers.
+
+This is evidently done by e.g.
+
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llvm-tblgen" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llvm-tblgen")
+    file(RPATH_CHANGE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llvm-tblgen"
+         OLD_RPATH "\$ORIGIN/../lib:"
+         NEW_RPATH "$ORIGIN/../lib")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/pkgsrc/wip/rust/work/.tools/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llvm-tblgen")
+    endif()
+  endif()
+
+which is replicate in lots of cmake_install.cmake files which have been
+dropped in the target build tree, i.e.
+
+work/rustc-1.71.0-src/build/x86_64-unknown-netbsd/llvm/build/...
+
+In all there are some 80 files mentioning RPATH_CHANGE.
+
+It is not self-evident where this is coming from, it looks like
+the cmake_install.cmake files are automatically generated.
diff --git a/rust/distinfo b/rust/distinfo
index 945736ae28..051b81dc3f 100644
--- a/rust/distinfo
+++ b/rust/distinfo
@@ -1,125 +1,125 @@
 $NetBSD: distinfo,v 1.159 2023/06/19 14:46:47 bsiegert Exp $
 
-BLAKE2s (rust-1.69.0-aarch64-apple-darwin.tar.gz) = 2c73f5c31f123054e7027f699e9a1bf8bdfbf9a3d7f108f66f70c13cf5ee0707
-SHA512 (rust-1.69.0-aarch64-apple-darwin.tar.gz) = 69b285e0097cefc8cf29cbb2621d7a85a019c09fbe1145ed913da4241ce2c468c7156f201d16e0d62629041f6b1fe5fb4ef7ef33944dfa0979834ae8e17e41b0
-Size (rust-1.69.0-aarch64-apple-darwin.tar.gz) = 233726423 bytes
-BLAKE2s (rust-1.69.0-aarch64-unknown-linux-gnu.tar.gz) = fc3b5cdef3657d31dfd1c4fbfa713d5292c3b189d016f3aa5f2cf11734be1d85
-SHA512 (rust-1.69.0-aarch64-unknown-linux-gnu.tar.gz) = eed54b2375c161d4dbf10146ed63c89fc219366e3b6d20928cb1d8690c51e70cfe278f9d85b8b4e72ecc741f0459d48223be56f5ce4e0fbbf89f129b5e576949
-Size (rust-1.69.0-aarch64-unknown-linux-gnu.tar.gz) = 442597287 bytes
-BLAKE2s (rust-1.69.0-aarch64-unknown-netbsd.tar.xz) = 66def0c08c4bf37057380fff4240d8bb41649d2aef8590921f37b6f865576881
-SHA512 (rust-1.69.0-aarch64-unknown-netbsd.tar.xz) = d0ad3953ea950f618782ad6b6d8eaa188804a455607de434ddc313985d8f3247730afd5250103b492890c886dae924ebb6a42e5a1d37f69d6c989a54ae0435b8
-Size (rust-1.69.0-aarch64-unknown-netbsd.tar.xz) = 155086012 bytes
-BLAKE2s (rust-1.69.0-aarch64_be-unknown-netbsd.tar.xz) = a8255ca372463cf76fdb0c5ab439cf4c60c067eb708b5d64d66469422a38aada
-SHA512 (rust-1.69.0-aarch64_be-unknown-netbsd.tar.xz) = 2916f07c4694575ae9920f9be111967c52adebd45931b8a10516fe638692e2419aac1bcae012e728fb218100a0c167d809d2acffb0866bc6c79be8f224a08193
-Size (rust-1.69.0-aarch64_be-unknown-netbsd.tar.xz) = 152716792 bytes
-BLAKE2s (rust-1.69.0-arm-unknown-linux-gnueabihf.tar.gz) = 159902525d504cae00f3bec5cb68a02867416ed3d7342480bbbe786f8d8e9096
-SHA512 (rust-1.69.0-arm-unknown-linux-gnueabihf.tar.gz) = feec870f88158e780c6722cdca1a3325559b032c76e9d63c1437ab01c151069eb511d25c0f104410e37fc52c41c576e9da1a5524aa4a1b88fddbb5e3c69c9cc3
-Size (rust-1.69.0-arm-unknown-linux-gnueabihf.tar.gz) = 335337307 bytes
-BLAKE2s (rust-1.69.0-armv6-unknown-netbsd-eabihf.tar.xz) = b24318a32dea3dfd36a5f2ec4dbae099fb4242c13a0ef1795a859beb37b0fe54
-SHA512 (rust-1.69.0-armv6-unknown-netbsd-eabihf.tar.xz) = 00d9f707bf5e8b207f9a81316a59ff6d458475d10cd251a5146aec43ab9df2d6ee74f37437919e6a32ceee0d48acad91edf314e7df38068ced79d29c29820a54
-Size (rust-1.69.0-armv6-unknown-netbsd-eabihf.tar.xz) = 132417004 bytes
-BLAKE2s (rust-1.69.0-armv7-unknown-linux-gnueabihf.tar.gz) = 951605cc4600beac6bc8e8978549e9ecc2c7760dbcda334cf1cbe3603be9ec3d
-SHA512 (rust-1.69.0-armv7-unknown-linux-gnueabihf.tar.gz) = 5c0fc5420e9973b31f4364b9751f5a48358a1b644c220cae1aad722ef469b0770f84dfa65a2e1cc13c919e05da22cd140dc007c6ad1e98f6575699a2aa64dead
-Size (rust-1.69.0-armv7-unknown-linux-gnueabihf.tar.gz) = 325597806 bytes
-BLAKE2s (rust-1.69.0-armv7-unknown-netbsd-eabihf.tar.xz) = d365f793f6346db62230320fdb0f7c6693fa4c92cacaaa413060b6f98caf1cf9
-SHA512 (rust-1.69.0-armv7-unknown-netbsd-eabihf.tar.xz) = b660d7ba05efd62385b669067d2ed289e33c7342dbdfa5035b4d6b4ddf9b9b620d1b15785d058933ea068e8a6adaf915c9405ce7c9b5343bb83ae7797187bb71
-Size (rust-1.69.0-armv7-unknown-netbsd-eabihf.tar.xz) = 135210152 bytes
-BLAKE2s (rust-1.69.0-i586-unknown-netbsd.tar.xz) = 56c9440f7b789002820a7d0359bb6b3b1f645a114b688eba560317df5b27fd29
-SHA512 (rust-1.69.0-i586-unknown-netbsd.tar.xz) = a4fc4661e4d2c49bbad348e792a135d04ec2ad5975298aa30ad4e762cf165b23de520227d8c88d00d5588f58c0e27f931bdf1f099e8b2fcdb7f5e5045cd14aea
-Size (rust-1.69.0-i586-unknown-netbsd.tar.xz) = 167250680 bytes
-BLAKE2s (rust-1.69.0-i686-unknown-linux-gnu.tar.gz) = 1655a944775d7210aeeb54b3da17148f6e314b74f2d204d9c1e9a840149a5820
-SHA512 (rust-1.69.0-i686-unknown-linux-gnu.tar.gz) = 2b1d51883330abd4161ca1b8547a23f6be8af418ba8d361f87a565477b5ba9e2d43fc9ba2bf633aa90130f6d009c28b5d2ff8101d864292b2db9db75e5dec077
-Size (rust-1.69.0-i686-unknown-linux-gnu.tar.gz) = 392646441 bytes
-BLAKE2s (rust-1.69.0-mipsel-unknown-netbsd.tar.xz) = 59ed0abbe3c7a1abf0d61abc6634b75df79d62bb96b239a8445d3d07b02bea02
-SHA512 (rust-1.69.0-mipsel-unknown-netbsd.tar.xz) = 7e6b60498e251e75593794e7d82c3ce6a3fa40a3009a74ea4804c61a958b6ad26613a37104e85cd23e0adb633aec594d3463acad4b5d7edf2d22b27d4f7fd148
-Size (rust-1.69.0-mipsel-unknown-netbsd.tar.xz) = 133807068 bytes
-BLAKE2s (rust-1.69.0-powerpc-unknown-netbsd.tar.xz) = 72a822096bcbf47c4e6b88c8aa1b7843562ec67c84148cf7532191b24badd615
-SHA512 (rust-1.69.0-powerpc-unknown-netbsd.tar.xz) = aac375b17e74ea750f8360b2fda306bdc459f3fdd61de8166c4e0851cc593dcaec23906adba0eb46c3259f027b6953b6d4711ee8e60e592eaccea4cd607da4c7
-Size (rust-1.69.0-powerpc-unknown-netbsd.tar.xz) = 181252092 bytes
-BLAKE2s (rust-1.69.0-powerpc-unknown-netbsd90.tar.xz) = 9e2031e1506c98b07a1e37935eee07d94d151132555b8183e0771d628392f2ce
-SHA512 (rust-1.69.0-powerpc-unknown-netbsd90.tar.xz) = 7f5bb6270f7ea8cf8c85635ad45607cd344ed22689f3280d8e3b6915ccdd1895019dc3317e7c68678a78a5742ce6a3e1b8adf7ba486cf5d3cb6813a808cfe322
-Size (rust-1.69.0-powerpc-unknown-netbsd90.tar.xz) = 182053916 bytes
-BLAKE2s (rust-1.69.0-sparc64-unknown-netbsd.tar.xz) = e7111bcaed69fa59b8852f9363bf48e5c86630e3e7f747b5545d8bca6de6de9a
-SHA512 (rust-1.69.0-sparc64-unknown-netbsd.tar.xz) = b5a7e3d0855ef429aed1f5dd2678ae1c1283618a968ae94cb985fd7be0fe31128b5938f180f2f891709bcb27b9b89a37f6a4e3f870d73d48c8a31137cdb734ef
-Size (rust-1.69.0-sparc64-unknown-netbsd.tar.xz) = 149302728 bytes
-BLAKE2s (rust-1.69.0-x86_64-apple-darwin.tar.gz) = f14f265ed0ac3f30559b70c2ff9c4560dd92055d4a7681257dfa28332cb254e9
-SHA512 (rust-1.69.0-x86_64-apple-darwin.tar.gz) = 27ca5513804d641275a0b454fb256a2a631c0203c97d858c19379d352c6c7ab52d4a6df4fc0efd8dbfbc5d288389c3341136b3229904dd8a24865bc75b7feab2
-Size (rust-1.69.0-x86_64-apple-darwin.tar.gz) = 317276846 bytes
-BLAKE2s (rust-1.69.0-x86_64-unknown-freebsd.tar.gz) = dd3db3df05acab9d597424cc05dda4be4eccf76549b5c23647d1f002f3c8925e
-SHA512 (rust-1.69.0-x86_64-unknown-freebsd.tar.gz) = 6ffd908ee5397b7aa66fb51db4adf0330189b2fc40f4a73c773a195d03e45c92ee2c6591588e6b365ce09311a5f4ddf0aba939bf016ffd508afb6c2ce628788d
-Size (rust-1.69.0-x86_64-unknown-freebsd.tar.gz) = 301203472 bytes
 BLAKE2s (rust-1.69.0-x86_64-unknown-illumos.tar.gz) = e750d02582f4bca4eef0a7776e844263a9fc859858604d913cfc6d5abbfbcc9a
 SHA512 (rust-1.69.0-x86_64-unknown-illumos.tar.gz) = eb36e97d9fd8a1b3797f0702177f47666b98c852257094c779fad82426463ad5f8775a987e85ddff6abc8c3a22810dcb4267dedf77b3272bb05b8775ead18c51
 Size (rust-1.69.0-x86_64-unknown-illumos.tar.gz) = 214951989 bytes
-BLAKE2s (rust-1.69.0-x86_64-unknown-linux-gnu.tar.gz) = 369c9093e1f733af47dd5be187e89a862f4779c441a5c135a5e0ecf7a11b1051
-SHA512 (rust-1.69.0-x86_64-unknown-linux-gnu.tar.gz) = e0612cacb835a16a11ddb0778e7495ab14d43457b5320367d01e38e194c4c47336599cc52fa910301a77116c5cabbf6634dcb2ede106bb4a1658c1c1c54d7393
-Size (rust-1.69.0-x86_64-unknown-linux-gnu.tar.gz) = 313223558 bytes
-BLAKE2s (rust-1.69.0-x86_64-unknown-netbsd.tar.xz) = 0f496263dec8d276eb94408f4acae659ec850b10b7920c935d1d470922d1fb78
-SHA512 (rust-1.69.0-x86_64-unknown-netbsd.tar.xz) = ea442d784c3b5b09ad1113fd8baf6a725bf4c0c78134fefb1b5ae9773bba23d7c16c7ec8af074817115e3b4113e21581c0ac3ba539de7bfc83d0584c2c2a1b94
-Size (rust-1.69.0-x86_64-unknown-netbsd.tar.xz) = 147881648 bytes
+BLAKE2s (rust-1.70.0-aarch64-apple-darwin.tar.gz) = dd134e5775fd9bfdbf4d0a1b9ef76c5e01f113efb25654ec0ece397e6fafb433
+SHA512 (rust-1.70.0-aarch64-apple-darwin.tar.gz) = 22466cd67b1835f369cb92a754f8a108b062453b9a3ee05cca8078595a7af98a0cac41e19ba7ea0c6f5ce0593ed215eaf7c2e6ddfdb56a672486367bc934ac59
+Size (rust-1.70.0-aarch64-apple-darwin.tar.gz) = 239190822 bytes
+BLAKE2s (rust-1.70.0-aarch64-unknown-linux-gnu.tar.gz) = a3b4f41b0257f4459cbf6041fd1f460bea8e417f3d52c298788761dc61233d87
+SHA512 (rust-1.70.0-aarch64-unknown-linux-gnu.tar.gz) = bbc6fff5748884b52e4706c06fd3b95bd9043723ba581219186e9efbe8b5aed591abc8b974d822a4085d1e3768295aaed315c42a55722be6d000f493ae2ef549
+Size (rust-1.70.0-aarch64-unknown-linux-gnu.tar.gz) = 451145710 bytes
+BLAKE2s (rust-1.70.0-aarch64-unknown-netbsd.tar.xz) = 7e6b4357b84f1c030372ccd7a425d3c0852dc08ece385b6c3d92021d27f3bf64
+SHA512 (rust-1.70.0-aarch64-unknown-netbsd.tar.xz) = f99c4da059ca22021ab385e9518956419f8267b1e8c480285e542adf5a3bef7b6538981862723ddb7ec7368bbac07948bb2207c9fe4d14a8ac52e2fa5b38cc7e
+Size (rust-1.70.0-aarch64-unknown-netbsd.tar.xz) = 195312000 bytes
+BLAKE2s (rust-1.70.0-aarch64_be-unknown-netbsd.tar.xz) = 275ea9603647b87a9d7c70ceb5e3dae0f20af436464bb116a71e25098a67d4c7
+SHA512 (rust-1.70.0-aarch64_be-unknown-netbsd.tar.xz) = b821a60a9fa95b3f424badba6c912f656f4eb0b19eb2a68a4e2d9c04fc4e794ea2b666f9924c9d6ce59e27741e975f35ce55814019ea526dd28b88ec65c802f0
+Size (rust-1.70.0-aarch64_be-unknown-netbsd.tar.xz) = 196691256 bytes
+BLAKE2s (rust-1.70.0-arm-unknown-linux-gnueabihf.tar.gz) = 35fac603cb55d0cbed920b793d0a30c39ed96bb810a186d5f97bbff933df9f8d
+SHA512 (rust-1.70.0-arm-unknown-linux-gnueabihf.tar.gz) = f618a88cefcfb9c399eacc46e0b7fcf6469bacf5891ac5befea3398d634bf8528135d65eb5917ad5cf2a3afa5481c87043ac3d0950a677937962ec14b34dfdc1
+Size (rust-1.70.0-arm-unknown-linux-gnueabihf.tar.gz) = 343156416 bytes
+BLAKE2s (rust-1.70.0-armv6-unknown-netbsd-eabihf.tar.xz) = a50eedad75ac907f7b278441a9a7e6fac78d8db29af90c30e64c1e0f779be0b5
+SHA512 (rust-1.70.0-armv6-unknown-netbsd-eabihf.tar.xz) = 9ccd2bea38383b06d66aa796977ab14003f7fbc7e8cc37a756dd44df05e4ff685d0d69ff9b6e339ff8865fb376fc3b23d2af2357767be493a8f8ad64330e4369
+Size (rust-1.70.0-armv6-unknown-netbsd-eabihf.tar.xz) = 169942036 bytes
+BLAKE2s (rust-1.70.0-armv7-unknown-linux-gnueabihf.tar.gz) = 1d5760281648a2dc70fdff93ef3662e58613e8affd6830bcd7d3972c03e855e8
+SHA512 (rust-1.70.0-armv7-unknown-linux-gnueabihf.tar.gz) = 44de5e21f0e310b744e4902ac32256e36069e1b8ccd0c202803400a10171f5ee955a9eaf8cd86cd15e25413fb53dfbaad0450b3d25320755c3c6335fc219e571
+Size (rust-1.70.0-armv7-unknown-linux-gnueabihf.tar.gz) = 332823088 bytes
+BLAKE2s (rust-1.70.0-armv7-unknown-netbsd-eabihf.tar.xz) = 3a039556bc0ea52a510b29d83e9f957bba182eb83d0e18eb8c52852bd9024b58
+SHA512 (rust-1.70.0-armv7-unknown-netbsd-eabihf.tar.xz) = 2ed4587bf48ec525e1235af14855333fa8c629edf2d48dc1c4ae6db52adb557d635fe35ee1d0bbc184336e68c55605863cbecfa83628df707df6afd21c5299a7
+Size (rust-1.70.0-armv7-unknown-netbsd-eabihf.tar.xz) = 171353556 bytes
+BLAKE2s (rust-1.70.0-i586-unknown-netbsd.tar.xz) = d985b5e9adc30e11c5d98d2ca07424f2f425efcf6136db6b0cc1e68d70ae78a8
+SHA512 (rust-1.70.0-i586-unknown-netbsd.tar.xz) = 34301c54ad5d4d1e9374c36a56c5bb7978a2e8674ae91bb5fd01b7a1a16132470af3b73ba0d897ebe3f57db92beb73bda7ad7e412b975f3c6d5895fe2833a3b2
+Size (rust-1.70.0-i586-unknown-netbsd.tar.xz) = 90330264 bytes
+BLAKE2s (rust-1.70.0-i686-unknown-linux-gnu.tar.gz) = 1fb19ed2f04cdb05d17e23392a39492d2d06441f12613483ae92938efe8a2665
+SHA512 (rust-1.70.0-i686-unknown-linux-gnu.tar.gz) = cce9e4ba58ae05e3b861aa70a32b2ce67f2115640cd869f4cc1d5cce8f24f5edbca2a863eff3e736937aa777d8b590a1a232b6fa226aee752c5d9d3adf7ee188
+Size (rust-1.70.0-i686-unknown-linux-gnu.tar.gz) = 401968147 bytes
+BLAKE2s (rust-1.70.0-mipsel-unknown-netbsd.tar.xz) = 08c5a807e705b3c825ee944108fe8f1d49a4ed90fbb12e1c3139354d0f2e4c7c
+SHA512 (rust-1.70.0-mipsel-unknown-netbsd.tar.xz) = 4b08f75c6bd45ddff34ece46c95dd1bdc660e33d6ba49c9ef1acc7254629c5eb654b2f44ffe32d20b8e9a5d542b79bac13ecf5bcee422b0a25ce17ad06b6de55
+Size (rust-1.70.0-mipsel-unknown-netbsd.tar.xz) = 174026940 bytes
+BLAKE2s (rust-1.70.0-powerpc-unknown-netbsd.tar.xz) = bcf4ca36682f9fd29dbae1f082ca4381856c9070b22f303be9fdd2be82b6857e
+SHA512 (rust-1.70.0-powerpc-unknown-netbsd.tar.xz) = e2cbfa36e5facc9fdeb52e79e116976edad7777731eae85e1e075ba26229d6494faa88413657046c91390aad5d9c9cb31f7fb8227c43e1afa3a311c3c19f82b6
+Size (rust-1.70.0-powerpc-unknown-netbsd.tar.xz) = 87639104 bytes
+BLAKE2s (rust-1.70.0-powerpc-unknown-netbsd90.tar.xz) = 89183f0ca60c485a96835782520f61eb5f4f6b462b61c71d100f896b5032e8dc
+SHA512 (rust-1.70.0-powerpc-unknown-netbsd90.tar.xz) = 2c11765b03f299b1b69f00f5ebdf3583e956976f4ffbd4a1b1f61e57ffcc753ef1e777457a956a5b110dd502e318dbed6aa16d1751fc113bcc23e56c96801eeb
+Size (rust-1.70.0-powerpc-unknown-netbsd90.tar.xz) = 233766996 bytes
 BLAKE2s (rust-1.70.0-riscv64gc-unknown-netbsd.tar.xz) = 2d0c4186ec4aad6abc5a1b95dca0009a43ce3963f1302610759db16965a7e067
 SHA512 (rust-1.70.0-riscv64gc-unknown-netbsd.tar.xz) = 9a7cbe5cd5bcb29b01a244f01eb061f48d4d8a5881f47bf1e772c9c0219d34a11edb875635b04047763d8e1efbce75be2f60f0ff76cfb1fa04db3af8a36076f1
 Size (rust-1.70.0-riscv64gc-unknown-netbsd.tar.xz) = 205554164 bytes
-BLAKE2s (rust-std-1.69.0-aarch64-apple-darwin.tar.gz) = f36fd4398d053b14648269256a72400943d73053ceb40568bc466cf0e5e79836
-SHA512 (rust-std-1.69.0-aarch64-apple-darwin.tar.gz) = 52ba516f4138e24d4a91c86220a5c0b8552426e244fac1cff2ae7149fa68d5dcff7767700f31e612fd4c51acb59375a63ca57e6ebf609cec9ef55d7f409247b8
-Size (rust-std-1.69.0-aarch64-apple-darwin.tar.gz) = 42521697 bytes
-BLAKE2s (rust-std-1.69.0-aarch64-unknown-linux-gnu.tar.gz) = 39793445b796aa9584ac33cf7ce90c254b3043a31a35b43630f7e5a6bbca3a25
-SHA512 (rust-std-1.69.0-aarch64-unknown-linux-gnu.tar.gz) = c809bfe84879df6400fbfb45b7ba82d2933c2f3e7a704b18a55a650c778cd10e22d7d72fa17f5a8d19925fb40e0ca873e4259202d365e9a64e0a5a5489311f12
-Size (rust-std-1.69.0-aarch64-unknown-linux-gnu.tar.gz) = 65261742 bytes
-BLAKE2s (rust-std-1.69.0-aarch64-unknown-netbsd.tar.xz) = 6e1bb9a57640a468aca8d4542b360bb4d7f096cb6e108ed8ca31642cd91cd867
-SHA512 (rust-std-1.69.0-aarch64-unknown-netbsd.tar.xz) = 969b0c9c26e9922f35971c07bcc5ba1de398c4a16427d07b5704190fcbc7aca9c577560c805190beb8166d604b8fbff728631f0e65dbd01a801a72332c97d49f
-Size (rust-std-1.69.0-aarch64-unknown-netbsd.tar.xz) = 24915664 bytes
-BLAKE2s (rust-std-1.69.0-aarch64_be-unknown-netbsd.tar.xz) = 935e4a7887b0fceb658820ec56c04006b91beea20411fbea5d91b4a841f0d90e
-SHA512 (rust-std-1.69.0-aarch64_be-unknown-netbsd.tar.xz) = faf6ee7b9f9d1625e62c0cde98ed9a71798398e3b5cc7e41d6e7c6733c07ea91a0636923014e1b26788e6574a11bb6dea336f45df5285ff9d7d34747a9440fa2
-Size (rust-std-1.69.0-aarch64_be-unknown-netbsd.tar.xz) = 24787988 bytes
-BLAKE2s (rust-std-1.69.0-arm-unknown-linux-gnueabihf.tar.gz) = 766eea2f01db9c11362bff25691b1055e24ff9416d0275e6fbd5df9f46339029
-SHA512 (rust-std-1.69.0-arm-unknown-linux-gnueabihf.tar.gz) = 74b9bcb6d01f99bc5e45878e4b48fa16f0b0503bb59917c677debce527783f10add79b961e0d8bf642724a0b944b1d63302903bd5f2fb412f47cd2f5792d4b6a
-Size (rust-std-1.69.0-arm-unknown-linux-gnueabihf.tar.gz) = 38943160 bytes
-BLAKE2s (rust-std-1.69.0-armv6-unknown-netbsd-eabihf.tar.xz) = b9df63c4e1bb0f18fa0cf2dde1554ef677e1ea3da23330217718f4bc4afc3c2d
-SHA512 (rust-std-1.69.0-armv6-unknown-netbsd-eabihf.tar.xz) = 80e562847802f96723b14a5b9228c79c6b71873e7ca419c29edabe6f993d36505e934094e86787015ff93b45ec8dd261fa7fa7dd212520ffc4e92410051914ac
-Size (rust-std-1.69.0-armv6-unknown-netbsd-eabihf.tar.xz) = 23298608 bytes
-BLAKE2s (rust-std-1.69.0-armv7-unknown-linux-gnueabihf.tar.gz) = b1a4ad611d4272997a5a9df02e53d3c8b874c28e72a3a4b34a37e87dd4a9d00f
-SHA512 (rust-std-1.69.0-armv7-unknown-linux-gnueabihf.tar.gz) = 74a684afbbebfeb7b1e5d3d6454935827e659579959cba6385e843b546c2086b6d1cc380c9fa785b3590d35a2726e76e23ba2ad90c63f34ffbb259b7137edcd8
-Size (rust-std-1.69.0-armv7-unknown-linux-gnueabihf.tar.gz) = 40541598 bytes
-BLAKE2s (rust-std-1.69.0-armv7-unknown-netbsd-eabihf.tar.xz) = 16b48b47ff3f597d55b240b0264e7c0623f43a81f82b762c3b3030547c2b67d3
-SHA512 (rust-std-1.69.0-armv7-unknown-netbsd-eabihf.tar.xz) = cf45a4635b873b31c11c70b6c1baa00c37eac73902b5109e4270c50ab13fe37b609fda78c0005b5110ca5db182f5a6ad54762a491521e90cbc152a9f98ded5f9
-Size (rust-std-1.69.0-armv7-unknown-netbsd-eabihf.tar.xz) = 24112084 bytes
-BLAKE2s (rust-std-1.69.0-i586-unknown-netbsd.tar.xz) = b1d6a274504e0998162bd9d7a24d1ae53ac48e27ad078e20b337da5d9ee9d11f
-SHA512 (rust-std-1.69.0-i586-unknown-netbsd.tar.xz) = efb8d5eb70aa3ce804d2b83536e409cb70cd843288dda79132c80a90a889a7eb37c5929471c7490659355738fcfe62e2ab2a49ffe63234b27908f13d8d613a98
-Size (rust-std-1.69.0-i586-unknown-netbsd.tar.xz) = 25340244 bytes
-BLAKE2s (rust-std-1.69.0-i686-unknown-linux-gnu.tar.gz) = 4c2e1a9e9b4f900b27936019c9854524f04181be9981695154d7cf1853d3bc9e
-SHA512 (rust-std-1.69.0-i686-unknown-linux-gnu.tar.gz) = 1a885aaf1e27db157de00f09c37fc3a8441ac43549e7de939e5895f30bdc025472ddc1580040c3a0cc8a5deedb2fa7f3abb48b4cff8837cd143796df74c92e3d
-Size (rust-std-1.69.0-i686-unknown-linux-gnu.tar.gz) = 43030590 bytes
-BLAKE2s (rust-std-1.69.0-mipsel-unknown-netbsd.tar.xz) = 32894c284b7dfab0491b5ddf0f8e5ce5f36d782168e58cbf01bc25db403a269d
-SHA512 (rust-std-1.69.0-mipsel-unknown-netbsd.tar.xz) = cf9d4d9a238a421fcc4272c07f7a513fb7886b59932f228cbad9b873aeb100f62c2b9a7dd0b2b5b845b319bc195bef4bd491418476502f18d450929cbdca2ef5
-Size (rust-std-1.69.0-mipsel-unknown-netbsd.tar.xz) = 23117500 bytes
-BLAKE2s (rust-std-1.69.0-powerpc-unknown-netbsd.tar.xz) = 13c17f5fb6918e81ee70e494771afd3c76594eb8e3c14e0eb6e972a3d9f27d9f
-SHA512 (rust-std-1.69.0-powerpc-unknown-netbsd.tar.xz) = d154168f34eda456066e31c928bab320e91a0879b358b5f98233df1c3d702a03424b8e4ddf56d7d66ec5d98d79a85934ed5db2a4efd13dd734c99a3628b550bc
-Size (rust-std-1.69.0-powerpc-unknown-netbsd.tar.xz) = 23102960 bytes
-BLAKE2s (rust-std-1.69.0-powerpc-unknown-netbsd90.tar.xz) = ba391f89deaa3ea7f8429e48c4a2a182df2964864a7a061136131b70a971d1a6
-SHA512 (rust-std-1.69.0-powerpc-unknown-netbsd90.tar.xz) = 2a7f64663350adf0c91fb41aff8003bd8141b3bd3200e5b518cb2351d07d90d926bc74cd033859a17a671f812b3204fa51bb923e33fece4f400f49140e6cc1ab
-Size (rust-std-1.69.0-powerpc-unknown-netbsd90.tar.xz) = 23089464 bytes
-BLAKE2s (rust-std-1.69.0-sparc64-unknown-netbsd.tar.xz) = 59aad4d6704195526cde21b43420daccd380ecf20ce6c5239c0f85f31e67cab6
-SHA512 (rust-std-1.69.0-sparc64-unknown-netbsd.tar.xz) = d5f781f25f7f0d69bd7fe185dde4ccb26c544e9d3482e05bf12cf59be984c75f65251029c78de6505e523867c1b4bddf89bc34bc1512b7fc18aba76d3b7ef46f
-Size (rust-std-1.69.0-sparc64-unknown-netbsd.tar.xz) = 23075120 bytes
-BLAKE2s (rust-std-1.69.0-x86_64-apple-darwin.tar.gz) = 101c43595bd768ad7e952545c6a5a113e6800a06a3689da22ba6d5a29d6332c3
-SHA512 (rust-std-1.69.0-x86_64-apple-darwin.tar.gz) = beeedd2f25e1331fae387bc7663c2ca8df55dee2c30bfbb00d825fdce9b492d47dd5bc01ee4930152d6f84ccbf1b92ae290cd30be766b178ff469bee51e81513
-Size (rust-std-1.69.0-x86_64-apple-darwin.tar.gz) = 44783473 bytes
-BLAKE2s (rust-std-1.69.0-x86_64-unknown-freebsd.tar.gz) = b7a6780b7d72581ba9d454aa19733bb793044598c276cecc5becd79ec01401b8
-SHA512 (rust-std-1.69.0-x86_64-unknown-freebsd.tar.gz) = 6784e33493904deffeedd3957f9df7aa57ffa43acc9a7bf950e8fe92d6400d76848131ad3e5f2a94bc111f11999b12f1b2f12f37e636167d257ed81fc4f64adb
-Size (rust-std-1.69.0-x86_64-unknown-freebsd.tar.gz) = 46086310 bytes
-BLAKE2s (rust-std-1.69.0-x86_64-unknown-linux-gnu.tar.gz) = 5162d5038c58e2f3f407b451e0611825da36924ad50965bfe0b34c5769ff7f32
-SHA512 (rust-std-1.69.0-x86_64-unknown-linux-gnu.tar.gz) = dd15925ab5acf1e0368379f933c56c5a22cb9fa65c903509ec29569034090b93cc1ac2fc7daf5739aee66857b8a9cb5b76b1bdcd421b60f9d3148eceef6844ab
-Size (rust-std-1.69.0-x86_64-unknown-linux-gnu.tar.gz) = 47727711 bytes
-BLAKE2s (rust-std-1.69.0-x86_64-unknown-netbsd.tar.xz) = 8ad9cf08acc2b777bbefb91bb325da32ea9aed54b0ffffa116e4f7c3d69550c0
-SHA512 (rust-std-1.69.0-x86_64-unknown-netbsd.tar.xz) = 14f82fb73a8cef5caf2b636b36a3f6be45b6f0151170186c07fde3ef033c2ae6750b370841a21ce26d78ebc945f52844bd54b918ad4b92e110fb080d129367b6
-Size (rust-std-1.69.0-x86_64-unknown-netbsd.tar.xz) = 27369152 bytes
+BLAKE2s (rust-1.70.0-sparc64-unknown-netbsd.tar.xz) = f52a39f069fe649ff4426dc2513a3f932d4171bde82c31eba04c1fe4a8280499
+SHA512 (rust-1.70.0-sparc64-unknown-netbsd.tar.xz) = 35f88cff123dd14c34b79c0d27e62ac3626b25a8d449fc94c6f6c9dae23bc4e3592713aad363c492c47fe7476f454965a3bea03373b39c9a2b25f30c456ef222
+Size (rust-1.70.0-sparc64-unknown-netbsd.tar.xz) = 195174124 bytes
+BLAKE2s (rust-1.70.0-x86_64-apple-darwin.tar.gz) = f8536da95fcfc022f1a7cb9512af16d834f747c3e6c6717aec6d9bdbc8bb4a64
+SHA512 (rust-1.70.0-x86_64-apple-darwin.tar.gz) = 5986d363c821b104509c4f04785b1e58211ed9d054f3ab0af068fe54b86fa43acac1ab9e9407ed779e6018a375332a8a8d70fe7b5317194e3940e481a9383825
+Size (rust-1.70.0-x86_64-apple-darwin.tar.gz) = 324054910 bytes
+BLAKE2s (rust-1.70.0-x86_64-unknown-freebsd.tar.gz) = 377a9e54374d903902d11c3252d0b87f9cf09869b8e18ab5f6a242aab9198403
+SHA512 (rust-1.70.0-x86_64-unknown-freebsd.tar.gz) = f01bfb2f9f952bcd05bd15436377b668ff0a06e5e880e6f7e1605ee18a99109c4be365cc68ce2305c949c800813922263fd5b0e27f927fe3f17c8c25281c1711
+Size (rust-1.70.0-x86_64-unknown-freebsd.tar.gz) = 307948458 bytes
+BLAKE2s (rust-1.70.0-x86_64-unknown-linux-gnu.tar.gz) = adce2784cc26732d23d4aa13814c962f026a6537c03c5a77017335126d2bc1dd
+SHA512 (rust-1.70.0-x86_64-unknown-linux-gnu.tar.gz) = 468a668dec119c9034df568d4a3ff0c7898e11b7dd2767d6b3358d6011915998e1683c8c444a3350bc559e55c739335b9553e7caca0b5c594ddfc31ef6190cad
+Size (rust-1.70.0-x86_64-unknown-linux-gnu.tar.gz) = 347192982 bytes
+BLAKE2s (rust-1.70.0-x86_64-unknown-netbsd.tar.xz) = e0a543464f7bcff3eaf8bbad79b14b91c649dc0f8d849e5165b44fe8d5f1818a
+SHA512 (rust-1.70.0-x86_64-unknown-netbsd.tar.xz) = a1b8395d614c2cf6e8447df8ea900ca149401c43e56e8a713dc8fd7131b7229a43dddbdd9c1e079145065b227e9b960249fd754434d156e4f1c3c3f180b35472
+Size (rust-1.70.0-x86_64-unknown-netbsd.tar.xz) = 151412256 bytes
+BLAKE2s (rust-std-1.70.0-aarch64-apple-darwin.tar.gz) = 7c8cca48b30a67e7b59022e76fdca58ae2af1275e7db6c77d1e912f9cc8fdf86
+SHA512 (rust-std-1.70.0-aarch64-apple-darwin.tar.gz) = eee2c6fc687426d65a0099846455cfcd6ea094b2adb82d52355f73d4b14d34b8268ebce815ed028fa5c7fedce8c52381992c0f09c4fe99523cd74fbc8255c272
+Size (rust-std-1.70.0-aarch64-apple-darwin.tar.gz) = 41922676 bytes
+BLAKE2s (rust-std-1.70.0-aarch64-unknown-linux-gnu.tar.gz) = 5f26ed530ce24bb86ea13e3e72c7e39a6839487b9c2aa885bedee38bafbcf53b
+SHA512 (rust-std-1.70.0-aarch64-unknown-linux-gnu.tar.gz) = ec34c4757c7414c15369d2d0669bb6a5d15af5511b65ab16beff26a902e4c214ac831cf1071a9132a5de80cac37d2fdfc10f93546b042b4801ef3f2baf1345c0
+Size (rust-std-1.70.0-aarch64-unknown-linux-gnu.tar.gz) = 65637566 bytes
+BLAKE2s (rust-std-1.70.0-aarch64-unknown-netbsd.tar.xz) = 86c1afbd0999b9fb7bb1469a95e17559be15d63dc2422f72bb7dccf154521375
+SHA512 (rust-std-1.70.0-aarch64-unknown-netbsd.tar.xz) = 99415b0d8585bc4ffb5818e6e3b2c83de89b52893677dff3b9570752c30cc541fb1a1ff334f3d6b82a5e476b95a0f0f5fd50dfa5a0e7dd22b9a2632195f00e08
+Size (rust-std-1.70.0-aarch64-unknown-netbsd.tar.xz) = 27325056 bytes
+BLAKE2s (rust-std-1.70.0-aarch64_be-unknown-netbsd.tar.xz) = d7563002331f420e6d58869604c6009821460eec2da1e0b1638ece471dbbc49b
+SHA512 (rust-std-1.70.0-aarch64_be-unknown-netbsd.tar.xz) = cf8c85d966c34e22f3476aa8f45e88f0ed19655b9a3aa0f8822f944b0c5c8ee6caee0ff9a952ffad4816b10c93be5f2e80650a9aeaa90f80b13cbc680f7d01d5
+Size (rust-std-1.70.0-aarch64_be-unknown-netbsd.tar.xz) = 27372552 bytes
+BLAKE2s (rust-std-1.70.0-arm-unknown-linux-gnueabihf.tar.gz) = 973a9df8926f632740224132b61b5c7e6d4f95e9c5be41d4915658b262b577fb
+SHA512 (rust-std-1.70.0-arm-unknown-linux-gnueabihf.tar.gz) = 4b98fcb37ab9658ba15a6b571c9b92f156cb55193937b4db9ebdb24ed7f53b0782cb2f2f6ad459300b2fcb19c4941d920344e0e962339809d7cbc6e05c872215
+Size (rust-std-1.70.0-arm-unknown-linux-gnueabihf.tar.gz) = 38630349 bytes
+BLAKE2s (rust-std-1.70.0-armv6-unknown-netbsd-eabihf.tar.xz) = 010872f27e2aacf5a5a790fa6591d4433d6ac21973a496a78c93cd8141310427
+SHA512 (rust-std-1.70.0-armv6-unknown-netbsd-eabihf.tar.xz) = f8c0ae23d81290d2a9c15f08a37f6d4b4c830e2ad711694c638f87005c078d9bf7c587c6e381abd72ee845c11c0e7445e97dd93cd23ecb2f0a6fe2a3adf1e13f
+Size (rust-std-1.70.0-armv6-unknown-netbsd-eabihf.tar.xz) = 25513528 bytes
+BLAKE2s (rust-std-1.70.0-armv7-unknown-linux-gnueabihf.tar.gz) = 62a78bed4220ab27d392b5612d3702cf5e864fc76499abbc840610c0a5c33cc3
+SHA512 (rust-std-1.70.0-armv7-unknown-linux-gnueabihf.tar.gz) = b6e4ae072571ab6d8516e9ae245e9473251541d9006eb0d214ad89f218e9a07406fe28108758604f6eae038ff352d42ace9c4dd501b939e373f14f37d33189ff
+Size (rust-std-1.70.0-armv7-unknown-linux-gnueabihf.tar.gz) = 40182886 bytes
+BLAKE2s (rust-std-1.70.0-armv7-unknown-netbsd-eabihf.tar.xz) = 7b901a825ae419612f4c03072e561e976a3a46d5af31f2231661d656ed63a70b
+SHA512 (rust-std-1.70.0-armv7-unknown-netbsd-eabihf.tar.xz) = 9870719dea64a115719b844b5efaa281434f667b1bc730761bc0357cd0428a251d5b98b677709a51e0dd827a3f399b54a1034fdb91cd7815de77907bb6056577
+Size (rust-std-1.70.0-armv7-unknown-netbsd-eabihf.tar.xz) = 26517312 bytes
+BLAKE2s (rust-std-1.70.0-i586-unknown-netbsd.tar.xz) = 7fab81a35a0794ba06dcbac19a6758a7156f913079746b96c0f7e171b3d298f4
+SHA512 (rust-std-1.70.0-i586-unknown-netbsd.tar.xz) = b3810e5101e093c26110b26a4a4a9a8acac2e400922a7fe5d4131b022015f2386cc8bf5d09a61126fabd038ecbb388a15f824be86dd1bf990215556d9ef5718a
+Size (rust-std-1.70.0-i586-unknown-netbsd.tar.xz) = 28325780 bytes
+BLAKE2s (rust-std-1.70.0-i686-unknown-linux-gnu.tar.gz) = eadee1706a43c0d3b989ed43fc6682a30fa6f25c45ef166c7267e772440f7c5a
+SHA512 (rust-std-1.70.0-i686-unknown-linux-gnu.tar.gz) = 4cd9ab546b89b883821cc5dc9ccebde1f408e5e8ffc1cf97583a0378703eb7aa65627b890622b9d353030cb45f6d6a79f61f606c02ac3a03f7d23d20bf7df51a
+Size (rust-std-1.70.0-i686-unknown-linux-gnu.tar.gz) = 43122405 bytes
+BLAKE2s (rust-std-1.70.0-mipsel-unknown-netbsd.tar.xz) = cc3364cd60f9b7ca19fce18d7920d6bab6fdb3194f26476ee10d98c26b7f0905
+SHA512 (rust-std-1.70.0-mipsel-unknown-netbsd.tar.xz) = 1c17dd12b9a6ccb5a2bcbda1dc853d3d52d87fca48d7fa5e878d68ae78dbceaadcae3a8ecbe90f2b56ede30799107176f0688ec30ce663fb20039cb736337b4d
+Size (rust-std-1.70.0-mipsel-unknown-netbsd.tar.xz) = 25522252 bytes
+BLAKE2s (rust-std-1.70.0-powerpc-unknown-netbsd.tar.xz) = 5b1c6f121c85b82565279da3fccf2bf6c1e4f59b35d4b5346bbbed2c33e8ed64
+SHA512 (rust-std-1.70.0-powerpc-unknown-netbsd.tar.xz) = a06186d3fb84612885b795963c73db9659e7cd1cf2245b90de844e661d3966264980430110db48a2c79fffacc4b6148cb8d14a85e8b6c4aefb3bc5e2efedeceb
+Size (rust-std-1.70.0-powerpc-unknown-netbsd.tar.xz) = 25390448 bytes
+BLAKE2s (rust-std-1.70.0-powerpc-unknown-netbsd90.tar.xz) = c78ba16552385a7ca0b60e8a8e7fd257a1c4a613518c7cdb2c64179a6cabe035
+SHA512 (rust-std-1.70.0-powerpc-unknown-netbsd90.tar.xz) = b20e838c5bacb746b80b965809def00a0c5a8d768556d2b553beee20942161daa05dd3c03ffff4a52645db81471a4ae38f82acae92a8d70edd68da8c04304737
+Size (rust-std-1.70.0-powerpc-unknown-netbsd90.tar.xz) = 25378048 bytes
 BLAKE2s (rust-std-1.70.0-riscv64gc-unknown-netbsd.tar.xz) = e08222494230c9a35d15c5352d740d97707ebad20686ee663689a7139fc201a3
 SHA512 (rust-std-1.70.0-riscv64gc-unknown-netbsd.tar.xz) = ef61701dc6fda74148e7654645986fedafb4cbc4358d7571d4d1f66123d98d6026f9fbe557726c926a0029731519b6d70794d61c5baf6604ba8043030e567882
 Size (rust-std-1.70.0-riscv64gc-unknown-netbsd.tar.xz) = 25794632 bytes
-BLAKE2s (rustc-1.70.0-src.tar.gz) = 9048807c1db0b7bbd0ea77c9e6552b896337e7e917c619f2767c53c416b6ab2a
-SHA512 (rustc-1.70.0-src.tar.gz) = 4c88bccdd09583f3e347770d846260a054fdbfe10b4ea9b68576794ffe104ab73a054b514262010269d7ed82b088131621461559b24a079fd35243a80d219395
-Size (rustc-1.70.0-src.tar.gz) = 251552252 bytes
+BLAKE2s (rust-std-1.70.0-sparc64-unknown-netbsd.tar.xz) = 444645ebe322473eb804e0f58c4ee116f8fb012a5450ce35d6e38124cc6e496e
+SHA512 (rust-std-1.70.0-sparc64-unknown-netbsd.tar.xz) = 277271f222e5c70efcb88c9e56c2907d1e8defa05263ef6f0223756fe97ce88f3b0d308d1147df1e72ecf457b55f8372f2d70cd63f5cc945a58f0104493edec4
+Size (rust-std-1.70.0-sparc64-unknown-netbsd.tar.xz) = 25516444 bytes
+BLAKE2s (rust-std-1.70.0-x86_64-apple-darwin.tar.gz) = a56a73af4770995f8ab073f5083794cdf631f53d972dbfd4c5b2b856cf95636d
+SHA512 (rust-std-1.70.0-x86_64-apple-darwin.tar.gz) = 760742796854d37227dde2b3aafc30dbaa5f0bbaca043f3c3e319626cc0cbd4a92253c6f30b417ee11a5144ca495057203b9a31b2f3336a249f19e2f12f7bf82
+Size (rust-std-1.70.0-x86_64-apple-darwin.tar.gz) = 44978754 bytes
+BLAKE2s (rust-std-1.70.0-x86_64-unknown-freebsd.tar.gz) = 18706cc2bcda39976fb941e7f11a4b765c16c0d2c0e0ac1a33968163cd4d0fdf
+SHA512 (rust-std-1.70.0-x86_64-unknown-freebsd.tar.gz) = edd41271af8cb70ef5d399bf38d6db925a44234f9b6dee8df6dcaebaeac2e344be9f2483ab2aac186fb185127c028f53c19f5fc9cccbe1ed659f6ed6bcdcc308
+Size (rust-std-1.70.0-x86_64-unknown-freebsd.tar.gz) = 46230203 bytes
+BLAKE2s (rust-std-1.70.0-x86_64-unknown-linux-gnu.tar.gz) = b49297bacf0604d7cc8d1e924d2db99aec5b074e3a599584477be2cd4a4bd359
+SHA512 (rust-std-1.70.0-x86_64-unknown-linux-gnu.tar.gz) = aabb92f6cd7f65785e002ce1ace6bb4ce4d68c536f68b41612b62bb3d1d96a3568f45f746878693aabd0eeeaa7bb7e33f69603df9798ae8f95767319d7168788
+Size (rust-std-1.70.0-x86_64-unknown-linux-gnu.tar.gz) = 47929103 bytes
+BLAKE2s (rust-std-1.70.0-x86_64-unknown-netbsd.tar.xz) = f0533bfe1cc8f296bd9a8fc1e6232007688b0f4f5efcca9bd8c89b8b74bb3f7b
+SHA512 (rust-std-1.70.0-x86_64-unknown-netbsd.tar.xz) = e0beade0769404243a5021b71aacd25c8bdab6d410acece3fc80c2cbcfe435914e656018714131febe57dbbe96cea6148743385cb34500c03b7fae8f966cbaa7
+Size (rust-std-1.70.0-x86_64-unknown-netbsd.tar.xz) = 27387808 bytes
+BLAKE2s (rustc-1.71.0-src.tar.gz) = b8bbbb894cc9c950a832a4aabe2bf2d9454d9dac07118d57aacfc7a0e3f349ab
+SHA512 (rustc-1.71.0-src.tar.gz) = 2ce74fae7ad010d64774f73e6cb1b7e8006fad583a5f1b49a18bcff294daa510f8691df2861bfcd100551f3021a9513e0ba844053c9a89d0364451e5e87f724c
+Size (rustc-1.71.0-src.tar.gz) = 275905014 bytes
 SHA1 (patch-compiler_rustc__codegen__ssa_src_back_linker.rs) = 62819cf6db7d2e3e77d433fe883046c28fc20d91
 SHA1 (patch-compiler_rustc__llvm_build.rs) = 190ff5e38c3a48bb4f11f4f8e5636bdeb36a0230
 SHA1 (patch-compiler_rustc__target_src_spec_aarch64__be__unknown__netbsd.rs) = c81d0d288699056ae45569f8d0a1c9bb08153ec4
@@ -135,7 +135,7 @@ SHA1 (patch-library_core_src_ffi_mod.rs) = 7678d57edc05a66abca73d4676cbb7bd58874
 SHA1 (patch-library_std_src_sys_unix_mod.rs) = f8669d680f169137ac2891af2977909619366a97
 SHA1 (patch-library_std_src_sys_unix_thread.rs) = 36a3085500ecbb34f8ecc08388c164da54bdf5d4
 SHA1 (patch-library_std_src_sys_unix_thread__parking_netbsd.rs) = c29eb1cf074766d34bd2b8c348ce29c6ae2ba163
-SHA1 (patch-src_bootstrap_bootstrap.py) = 4ed2fd1a43c1e0bae842c3c82012143c28346ce4
+SHA1 (patch-src_bootstrap_bootstrap.py) = 6f7f0d8f405068e614fc2a870e96dc0828f9a980
 SHA1 (patch-src_bootstrap_builder.rs) = 98daac929d2bbc9c475c39d225d50d37491528a8
 SHA1 (patch-src_bootstrap_compile.rs) = 71b58c0e14b820dafc48ce087292267e7d2eed0f
 SHA1 (patch-src_bootstrap_lib.rs) = f6918e0939b6fe63ae9b524d4c809375149efb15
@@ -146,7 +146,7 @@ SHA1 (patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h) = cb011fc19957883c
 SHA1 (patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h) = 39d76e6659143d154ae690ac70781b698a2023d8
 SHA1 (patch-src_llvm-project_llvm_lib_Support_BLAKE3_blake3__impl.h) = 67e93f198258a5b59580be20ff47ce58b146c5d5
 SHA1 (patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp) = 2587c2f4d11ad8f75bf8a16de625135b26bacc15
-SHA1 (patch-src_tools_cargo_src_cargo_core_profiles.rs) = e40776bf229b9f750756ab9eafe165b4e3670562
+SHA1 (patch-src_tools_cargo_src_cargo_core_profiles.rs) = b0a196b616d97aafcc0ef869e63798155e52f6cd
 SHA1 (patch-src_tools_cargo_tests_testsuite_build.rs) = 60713699c968f3e389f486e796009d31a5048906
 SHA1 (patch-src_tools_rust-installer_install-template.sh) = ca769db07986ded26d92957e1055961895def546
 SHA1 (patch-vendor_backtrace_src_symbolize_gimli.rs) = b93148ff72a60a17c6a444f2616386c40d872153
@@ -154,14 +154,20 @@ SHA1 (patch-vendor_backtrace_src_symbolize_gimli_elf.rs) = 308538090d9ce11d206d6
 SHA1 (patch-vendor_cc-1.0.73_src_lib.rs) = 98acea9fb98898f63bbb0f6555df5e4b15da2b85
 SHA1 (patch-vendor_cc-1.0.77_src_lib.rs) = 19d5608a2afa6d325bc1f47a48551797a1be8453
 SHA1 (patch-vendor_cc_src_lib.rs) = b03998072fda91995e9aa5e81bb590da99a4c004
-SHA1 (patch-vendor_crossbeam-epoch_no__atomic.rs) = 0b38d2314d9187ab745f2aa426015794c18f206c
-SHA1 (patch-vendor_crossbeam-utils_no__atomic.rs) = 074bd55721719275275b35d941bc138670e4d63c
+SHA1 (patch-vendor_crossbeam-epoch_no__atomic.rs) = a493d0b57a22b9a83c843a1076c91b6d36d2e007
+SHA1 (patch-vendor_crossbeam-utils_no__atomic.rs) = 26f797159530bc2c5e1be83a225a13e5458879b2
 SHA1 (patch-vendor_libc-0.2.138_src_unix_bsd_netbsdlike_netbsd_mips.rs) = eda31064a08cba20fc0652b669e419871875ae29
 SHA1 (patch-vendor_libc-0.2.138_src_unix_bsd_netbsdlike_netbsd_mod.rs) = e9c180ddbbd06ba2e0701bec11f1e6c954c0a0d4
 SHA1 (patch-vendor_libc-0.2.138_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = 24ebcb044aeefec3415323b77ac25805a98b296e
 SHA1 (patch-vendor_libc-0.2.139_src_unix_bsd_netbsdlike_netbsd_mips.rs) = aa7d06c87a6826e7187c57a72bf27ecc55ab3e8e
 SHA1 (patch-vendor_libc-0.2.139_src_unix_bsd_netbsdlike_netbsd_mod.rs) = c134584dadea923a33140474a30b0c55207d59d1
 SHA1 (patch-vendor_libc-0.2.139_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = 77b58e2e1e136ad9913d2304bc64b9958e852227
+SHA1 (patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_bnetbsd_riscv64.rs) = 74b6353687cdc029bcdc9110b7b1e96e9ffb8e43
+SHA1 (patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_imps.rs) = 998160de7640c4567bf042dfa7a74a4555b0568b
+SHA1 (patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_mod.rs) = 9f62b32afdd04fe950a8ea889fbf6d8444bb2e3b
+SHA1 (patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mips.rs) = f094140758dfe099dae79a97d7d9cf51d8a9a848
+SHA1 (patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mod.rs) = 4b71f71b05961c99906aed6dfd21f638d25f7225
+SHA1 (patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlikek_netbsd_riscv64.rs) = 207b2522a8533a344458e6433fe41d50157bf472
 SHA1 (patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_mips.rs) = 09326b70d7821b1742285c464c70b347400191d7
 SHA1 (patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_mod.rs) = 50df059ffa3426a73e6978fe22c6e053eed8dce4
 SHA1 (patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = 29e7a98dff00e092b89428a8ed464da503cba60d
@@ -169,7 +175,7 @@ SHA1 (patch-vendor_libc_src_unix_solarish_mod.rs) = 8364e19ea09203d32494c37ff3db
 SHA1 (patch-vendor_lzma-sys_config.h) = b654c7e129fa02697734bc87173f89b3056a5437
 SHA1 (patch-vendor_nix_src_sys_signal.rs) = bf4fcdc5b71d8d73b3d7e8acfccd0554d822c131
 SHA1 (patch-vendor_openssl-src_openssl_Configurations_10-main.conf) = 1c4e1d5520776e70d588f3da0fd54b6f956835b5
-SHA1 (patch-vendor_openssl-src_src_lib.rs) = 9511c09ed2bf035d3c1e684492bbb8f46d4e58ef
+SHA1 (patch-vendor_openssl-src_src_lib.rs) = fc38171e21ab88540a774917f419d41d67f509ca
 SHA1 (patch-vendor_openssl-sys_build_find__normal.rs) = 8c4311cdd2bd66882fa8406e28119a0144df5301
 SHA1 (patch-vendor_openssl-sys_build_main.rs) = 20618b13b56cc93bb5c051f96046604dd4977345
 SHA1 (patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs) = 4e86aec4c89db9a331950a12f8ec7b8aaa50eed7
diff --git a/rust/patches/patch-src_bootstrap_bootstrap.py b/rust/patches/patch-src_bootstrap_bootstrap.py
index 825ada10c5..e69484b406 100644
--- a/rust/patches/patch-src_bootstrap_bootstrap.py
+++ b/rust/patches/patch-src_bootstrap_bootstrap.py
@@ -3,21 +3,20 @@ $NetBSD: patch-src_bootstrap_bootstrap.py,v 1.4 2020/02/17 20:24:18 jperkin Exp
 Use `uname -p` on NetBSD, as that is reliable and sensible there.
 Handle earmv[67]hf for NetBSD.
 
---- src/bootstrap/bootstrap.py.orig	2022-09-19 14:07:21.000000000 +0000
+--- src/bootstrap/bootstrap.py.orig	2023-07-12 03:32:40.000000000 +0000
 +++ src/bootstrap/bootstrap.py
-@@ -245,6 +245,11 @@ def default_build_triple(verbose):
+@@ -268,6 +268,10 @@ def default_build_triple(verbose):
+         'NetBSD': 'unknown-netbsd',
          'OpenBSD': 'unknown-openbsd'
      }
- 
 +    # For NetBSD, use `uname -p`, as there it is reliable & sensible
-+    if ostype == 'NetBSD':
++    if kernel == 'NetBSD':
 +        cputype = subprocess.check_output(
 +            ['uname', '-p']).strip().decode(default_encoding)
-+
+ 
      # Consider the direct transformation first and then the special cases
-     if ostype in ostype_mapper:
-         ostype = ostype_mapper[ostype]
-@@ -298,6 +303,7 @@ def default_build_triple(verbose):
+     if kernel in kerneltype_mapper:
+@@ -323,6 +327,7 @@ def default_build_triple(verbose):
      cputype_mapper = {
          'BePC': 'i686',
          'aarch64': 'aarch64',
@@ -25,21 +24,20 @@ Handle earmv[67]hf for NetBSD.
          'amd64': 'x86_64',
          'arm64': 'aarch64',
          'i386': 'i686',
-@@ -336,10 +342,16 @@ def default_build_triple(verbose):
-             ostype = 'linux-androideabi'
+@@ -361,10 +366,16 @@ def default_build_triple(verbose):
+             kernel = 'linux-androideabi'
          else:
-             ostype += 'eabihf'
--    elif cputype in {'armv7l', 'armv8l'}:
+             kernel += 'eabihf'
 +    elif cputype in {'armv6hf', 'earmv6hf'}:
 +        cputype = 'armv6'
-+        if ostype == 'unknown-netbsd':
-+            ostype += '-eabihf'
-+    elif cputype in {'armv7l', 'armv8l', 'earmv7hf'}:
++        if kernel == 'unknown-netbsd':
++            kernel += '-eabihf'
+     elif cputype in {'armv7l', 'armv8l'}:
          cputype = 'armv7'
-         if ostype == 'linux-android':
-             ostype = 'linux-androideabi'
-+        elif ostype == 'unknown-netbsd':
-+            ostype += '-eabihf'
+         if kernel == 'linux-android':
+             kernel = 'linux-androideabi'
++        elif kernel == 'unknown-netbsd':
++            kernel += '-eabihf'
          else:
-             ostype += 'eabihf'
+             kernel += 'eabihf'
      elif cputype == 'mips':
diff --git a/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs b/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs
index 3747c3c0dc..9c710dcc11 100644
--- a/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs
+++ b/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs
@@ -3,15 +3,15 @@ $NetBSD: patch-src_tools_cargo_src_cargo_core_profiles.rs,v 1.3 2019/03/07 20:19
 Turn off incremental builds for sparc64, ref.
 https://sources.debian.org/patches/cargo/0.29.0-1/2007_sparc64_disable_incremental_build.patch/
 
---- src/tools/cargo/src/cargo/core/profiles.rs.orig	2018-10-24 20:01:28.000000000 +0000
+--- src/tools/cargo/src/cargo/core/profiles.rs.orig	2023-07-12 03:33:05.000000000 +0000
 +++ src/tools/cargo/src/cargo/core/profiles.rs
-@@ -686,6 +686,9 @@ impl Profile {
-             debuginfo: DebugInfo::Explicit(2),
+@@ -683,6 +683,9 @@ impl Profile {
+             debuginfo: DebugInfo::Explicit(TomlDebugInfo::Full),
              debug_assertions: true,
              overflow_checks: true,
-+	    #[cfg(target_arch = "sparc64")]
-+	    incremental: false,
-+	    #[cfg(not(target_arch = "sparc64"))]
++            #[cfg(target_arch = "sparc64")]
++            incremental: false,
++            #[cfg(not(target_arch = "sparc64"))]
              incremental: true,
              ..Profile::default()
          }
diff --git a/rust/patches/patch-vendor_crossbeam-epoch_no__atomic.rs b/rust/patches/patch-vendor_crossbeam-epoch_no__atomic.rs
index a1c328b6a9..a05b394053 100644
--- a/rust/patches/patch-vendor_crossbeam-epoch_no__atomic.rs
+++ b/rust/patches/patch-vendor_crossbeam-epoch_no__atomic.rs
@@ -4,9 +4,9 @@ Add "mipsel-unknown-netbsd" to the list who don't have
 native 64-bit atomic ops.
 Unify with crossbeam-epoch to get same after-checksum...
 
---- vendor/crossbeam-epoch/no_atomic.rs.orig	2022-09-19 15:35:01.000000000 +0000
+--- vendor/crossbeam-epoch/no_atomic.rs.orig	2023-07-12 05:06:31.000000000 +0000
 +++ vendor/crossbeam-epoch/no_atomic.rs
-@@ -37,10 +37,10 @@ const NO_ATOMIC_64: &[&str] = &[
+@@ -38,10 +38,10 @@ const NO_ATOMIC_64: &[&str] = &[
      "mips-unknown-linux-musl",
      "mips-unknown-linux-uclibc",
      "mipsel-sony-psp",
@@ -18,11 +18,3 @@ Unify with crossbeam-epoch to get same after-checksum...
      "mipsel-unknown-none",
      "mipsisa32r6-unknown-linux-gnu",
      "mipsisa32r6el-unknown-linux-gnu",
-@@ -74,7 +74,6 @@ const NO_ATOMIC_64: &[&str] = &[
- #[allow(dead_code)] // Only crossbeam-utils uses this.
- const NO_ATOMIC: &[&str] = &[
-     "avr-unknown-gnu-atmega328",
--    "mipsel-sony-psx",
-     "msp430-none-elf",
-     "riscv32i-unknown-none-elf",
-     "riscv32im-unknown-none-elf",
diff --git a/rust/patches/patch-vendor_crossbeam-utils_no__atomic.rs b/rust/patches/patch-vendor_crossbeam-utils_no__atomic.rs
index 0599e22440..39278590c8 100644
--- a/rust/patches/patch-vendor_crossbeam-utils_no__atomic.rs
+++ b/rust/patches/patch-vendor_crossbeam-utils_no__atomic.rs
@@ -3,9 +3,9 @@ $NetBSD$
 Add mipsel-unknown-netbsd target as not having 64-bit atomics.
 Unify with crossbeam-utils-0.8.12 by removing mipsel-sony-psx.
 
---- vendor/crossbeam-utils/no_atomic.rs.orig	2023-01-25 01:49:15.000000000 +0000
+--- vendor/crossbeam-utils/no_atomic.rs.orig	2023-07-12 05:06:31.000000000 +0000
 +++ vendor/crossbeam-utils/no_atomic.rs
-@@ -37,10 +37,10 @@ const NO_ATOMIC_64: &[&str] = &[
+@@ -38,10 +38,10 @@ const NO_ATOMIC_64: &[&str] = &[
      "mips-unknown-linux-musl",
      "mips-unknown-linux-uclibc",
      "mipsel-sony-psp",
@@ -17,11 +17,3 @@ Unify with crossbeam-utils-0.8.12 by removing mipsel-sony-psx.
      "mipsel-unknown-none",
      "mipsisa32r6-unknown-linux-gnu",
      "mipsisa32r6el-unknown-linux-gnu",
-@@ -74,7 +74,6 @@ const NO_ATOMIC_64: &[&str] = &[
- #[allow(dead_code)] // Only crossbeam-utils uses this.
- const NO_ATOMIC: &[&str] = &[
-     "avr-unknown-gnu-atmega328",
--    "mipsel-sony-psx",
-     "msp430-none-elf",
-     "riscv32i-unknown-none-elf",
-     "riscv32im-unknown-none-elf",
diff --git a/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_bnetbsd_riscv64.rs b/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_bnetbsd_riscv64.rs
new file mode 100644
index 0000000000..fc553ba621
--- /dev/null
+++ b/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_bnetbsd_riscv64.rs
@@ -0,0 +1,29 @@
+$NetBSD$
+
+Add support for NetBSD/riscv64.
+
+--- vendor/libc-0.2.140/src/unix/bsd/netbsdlike/netbsd/riscv64.rs.orig	2023-07-14 09:12:33.579150305 +0000
++++ vendor/libc-0.2.140/src/unix/bsd/netbsdlike/netbsd/riscv64.rs
+@@ -0,0 +1,22 @@
++use PT_FIRSTMACH;
++
++pub type c_long = i64;
++pub type c_ulong = u64;
++pub type c_char = u8;
++pub type __cpu_simple_lock_nv_t = ::c_int;
++
++// should be pub(crate), but that requires Rust 1.18.0
++cfg_if! {
++    if #[cfg(libc_const_size_of)] {
++        #[doc(hidden)]
++        pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_long>() - 1;
++    } else {
++        #[doc(hidden)]
++        pub const _ALIGNBYTES: usize = 8 - 1;
++    }
++}
++
++pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 0;
++pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 1;
++pub const PT_GETFPREGS: ::c_int = PT_FIRSTMACH + 2;
++pub const PT_SETFPREGS: ::c_int = PT_FIRSTMACH + 3;
diff --git a/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_imps.rs b/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_imps.rs
new file mode 100644
index 0000000000..c1c5c2a88a
--- /dev/null
+++ b/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_imps.rs
@@ -0,0 +1,29 @@
+$NetBSD$
+
+Add NetBSD/mipsel (mips32 required).
+
+--- vendor/libc-0.2.140/src/unix/bsd/netbsdlike/netbsd/mips.rs.orig	2023-07-14 09:09:26.430133820 +0000
++++ vendor/libc-0.2.140/src/unix/bsd/netbsdlike/netbsd/mips.rs
+@@ -0,0 +1,22 @@
++use PT_FIRSTMACH;
++
++pub type c_long = i32;
++pub type c_ulong = u32;
++pub type c_char = i8;
++pub type __cpu_simple_lock_nv_t = ::c_int;
++
++// should be pub(crate), but that requires Rust 1.18.0
++cfg_if! {
++    if #[cfg(libc_const_size_of)] {
++        #[doc(hidden)]
++        pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_longlong>() - 1;
++    } else {
++        #[doc(hidden)]
++        pub const _ALIGNBYTES: usize = 8 - 1;
++    }
++}
++
++pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
++pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 2;
++pub const PT_GETFPREGS: ::c_int = PT_FIRSTMACH + 3;
++pub const PT_SETFPREGS: ::c_int = PT_FIRSTMACH + 4;
diff --git a/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_mod.rs b/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_mod.rs
new file mode 100644
index 0000000000..cacee5bf18
--- /dev/null
+++ b/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_mod.rs
@@ -0,0 +1,44 @@
+$NetBSD$
+
+--- vendor/libc-0.2.140/src/unix/bsd/netbsdlike/netbsd/mod.rs.orig	2023-07-12 05:06:31.000000000 +0000
++++ vendor/libc-0.2.140/src/unix/bsd/netbsdlike/netbsd/mod.rs
+@@ -3111,6 +3111,22 @@ extern "C" {
+     pub fn kinfo_getvmmap(pid: ::pid_t, cntp: *mut ::size_t) -> *mut kinfo_vmentry;
+ }
+ 
++#[link(name = "execinfo")]
++extern "C" {
++    pub fn backtrace(addrlist: *mut *mut ::c_void, len: ::size_t) -> ::size_t;
++    pub fn backtrace_symbols(addrlist: *const *mut ::c_void, len: ::size_t) -> *mut *mut ::c_char;
++    pub fn backtrace_symbols_fd(
++        addrlist: *const *mut ::c_void,
++        len: ::size_t,
++        fd: ::c_int,
++    ) -> ::c_int;
++    pub fn backtrace_symbols_fmt(
++        addrlist: *const *mut ::c_void,
++        len: ::size_t,
++        fmt: *const ::c_char,
++    ) -> *mut *mut ::c_char;
++}
++
+ cfg_if! {
+     if #[cfg(target_arch = "aarch64")] {
+         mod aarch64;
+@@ -3130,7 +3146,15 @@ cfg_if! {
+     } else if #[cfg(target_arch = "x86")] {
+         mod x86;
+         pub use self::x86::*;
++    } else if #[cfg(target_arch = "mips")] {
++        mod mips;
++        pub use self::mips::*;
++    } else if #[cfg(target_arch = "riscv64")] {
++        mod riscv64;
++        pub use self::riscv64::*;
+     } else {
+-        // Unknown target_arch
++        // Unknown target_arch, this should error out
++        mod unknown;
++        pub use self::unknown::*;
+     }
+ }
diff --git a/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mips.rs b/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mips.rs
new file mode 100644
index 0000000000..de0591964c
--- /dev/null
+++ b/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mips.rs
@@ -0,0 +1,29 @@
+$NetBSD$
+
+Add support for NetBSD/mipsel (needs mips32).
+
+--- vendor/libc-0.2.143/src/unix/bsd/netbsdlike/netbsd/mips.rs.orig	2023-07-14 09:16:55.357761685 +0000
++++ vendor/libc-0.2.143/src/unix/bsd/netbsdlike/netbsd/mips.rs
+@@ -0,0 +1,22 @@
++use PT_FIRSTMACH;
++
++pub type c_long = i32;
++pub type c_ulong = u32;
++pub type c_char = i8;
++pub type __cpu_simple_lock_nv_t = ::c_int;
++
++// should be pub(crate), but that requires Rust 1.18.0
++cfg_if! {
++    if #[cfg(libc_const_size_of)] {
++        #[doc(hidden)]
++        pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_longlong>() - 1;
++    } else {
++        #[doc(hidden)]
++        pub const _ALIGNBYTES: usize = 8 - 1;
++    }
++}
++
++pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
++pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 2;
++pub const PT_GETFPREGS: ::c_int = PT_FIRSTMACH + 3;
++pub const PT_SETFPREGS: ::c_int = PT_FIRSTMACH + 4;
diff --git a/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mod.rs b/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mod.rs
new file mode 100644
index 0000000000..970353e257
--- /dev/null
+++ b/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mod.rs
@@ -0,0 +1,44 @@
+$NetBSD$
+
+--- vendor/libc-0.2.143/src/unix/bsd/netbsdlike/netbsd/mod.rs.orig	2023-07-12 05:06:31.000000000 +0000
++++ vendor/libc-0.2.143/src/unix/bsd/netbsdlike/netbsd/mod.rs
+@@ -3153,6 +3153,22 @@ extern "C" {
+     pub fn kinfo_getvmmap(pid: ::pid_t, cntp: *mut ::size_t) -> *mut kinfo_vmentry;
+ }
+ 
++#[link(name = "execinfo")]
++extern "C" {
++    pub fn backtrace(addrlist: *mut *mut ::c_void, len: ::size_t) -> ::size_t;
++    pub fn backtrace_symbols(addrlist: *const *mut ::c_void, len: ::size_t) -> *mut *mut ::c_char;
++    pub fn backtrace_symbols_fd(
++        addrlist: *const *mut ::c_void,
++        len: ::size_t,
++        fd: ::c_int,
++    ) -> ::c_int;
++    pub fn backtrace_symbols_fmt(
++        addrlist: *const *mut ::c_void,
++        len: ::size_t,
++        fmt: *const ::c_char,
++    ) -> *mut *mut ::c_char;
++}
++
+ cfg_if! {
+     if #[cfg(target_arch = "aarch64")] {
+         mod aarch64;
+@@ -3172,7 +3188,15 @@ cfg_if! {
+     } else if #[cfg(target_arch = "x86")] {
+         mod x86;
+         pub use self::x86::*;
++    } else if #[cfg(target_arch = "mips")] {
++        mod mips;
++        pub use self::mips::*;
++    } else if #[cfg(target_arch = "riscv64")] {
++        mod riscv64;
++        pub use self::riscv64::*;
+     } else {
+-        // Unknown target_arch
++        // Unknown target_arch, this should error out
++        mod unknown;
++        pub use self::unknown::*;
+     }
+ }
diff --git a/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlikek_netbsd_riscv64.rs b/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlikek_netbsd_riscv64.rs
new file mode 100644
index 0000000000..2474d11689
--- /dev/null
+++ b/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlikek_netbsd_riscv64.rs
@@ -0,0 +1,29 @@
+$NetBSD$
+
+Add support for NetBSD/riscv64.
+
+--- vendor/libc-0.2.143/src/unix/bsd/netbsdlike/netbsd/riscv64.rs.orig	2023-07-14 09:17:03.907579820 +0000
++++ vendor/libc-0.2.143/src/unix/bsd/netbsdlike/netbsd/riscv64.rs
+@@ -0,0 +1,22 @@
++use PT_FIRSTMACH;
++
++pub type c_long = i64;
++pub type c_ulong = u64;
++pub type c_char = u8;
++pub type __cpu_simple_lock_nv_t = ::c_int;
++
++// should be pub(crate), but that requires Rust 1.18.0
++cfg_if! {
++    if #[cfg(libc_const_size_of)] {
++        #[doc(hidden)]
++        pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_long>() - 1;
++    } else {
++        #[doc(hidden)]
++        pub const _ALIGNBYTES: usize = 8 - 1;
++    }
++}
++
++pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 0;
++pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 1;
++pub const PT_GETFPREGS: ::c_int = PT_FIRSTMACH + 2;
++pub const PT_SETFPREGS: ::c_int = PT_FIRSTMACH + 3;
diff --git a/rust/patches/patch-vendor_openssl-src_src_lib.rs b/rust/patches/patch-vendor_openssl-src_src_lib.rs
index 66040a7b6d..7c72ce5edf 100644
--- a/rust/patches/patch-vendor_openssl-src_src_lib.rs
+++ b/rust/patches/patch-vendor_openssl-src_src_lib.rs
@@ -2,9 +2,9 @@ $NetBSD: patch-vendor_openssl-src_src_lib.rs,v 1.1 2021/01/01 20:44:48 he Exp $
 
 Provide defaults for the various NetBSD targets.
 
---- vendor/openssl-src/src/lib.rs.orig	2022-09-19 15:35:02.000000000 +0000
+--- vendor/openssl-src/src/lib.rs.orig	2023-07-12 05:06:32.000000000 +0000
 +++ vendor/openssl-src/src/lib.rs
-@@ -230,6 +230,8 @@ impl Build {
+@@ -239,6 +239,8 @@ impl Build {
              "aarch64-unknown-freebsd" => "BSD-generic64",
              "aarch64-unknown-linux-gnu" => "linux-aarch64",
              "aarch64-unknown-linux-musl" => "linux-aarch64",
@@ -13,7 +13,7 @@ Provide defaults for the various NetBSD targets.
              "aarch64-pc-windows-msvc" => "VC-WIN64-ARM",
              "arm-linux-androideabi" => "linux-armv4",
              "armv7-linux-androideabi" => "linux-armv4",
-@@ -240,11 +242,13 @@ impl Build {
+@@ -249,14 +251,17 @@ impl Build {
              "armv5te-unknown-linux-gnueabi" => "linux-armv4",
              "armv5te-unknown-linux-musleabi" => "linux-armv4",
              "armv6-unknown-freebsd" => "BSD-generic32",
@@ -27,27 +27,31 @@ Provide defaults for the various NetBSD targets.
              "asmjs-unknown-emscripten" => "gcc",
              "i586-unknown-linux-gnu" => "linux-elf",
              "i586-unknown-linux-musl" => "linux-elf",
-@@ -255,6 +259,8 @@ impl Build {
++            "i586-unknown-netbsd" => "BSD-x86-elf",
+             "i686-apple-darwin" => "darwin-i386-cc",
+             "i686-linux-android" => "linux-elf",
+             "i686-pc-windows-gnu" => "mingw",
+@@ -264,6 +269,7 @@ impl Build {
              "i686-unknown-freebsd" => "BSD-x86-elf",
              "i686-unknown-linux-gnu" => "linux-elf",
              "i686-unknown-linux-musl" => "linux-elf",
 +            "i686-unknown-netbsd" => "BSD-x86-elf",
-+            "i586-unknown-netbsd" => "BSD-x86-elf",
+             "loongarch64-unknown-linux-gnu" => "linux64-loongarch64",
              "mips-unknown-linux-gnu" => "linux-mips32",
              "mips-unknown-linux-musl" => "linux-mips32",
-             "mips64-unknown-linux-gnuabi64" => "linux64-mips64",
-@@ -263,8 +269,10 @@ impl Build {
+@@ -273,9 +279,11 @@ impl Build {
              "mips64el-unknown-linux-muslabi64" => "linux64-mips64",
              "mipsel-unknown-linux-gnu" => "linux-mips32",
              "mipsel-unknown-linux-musl" => "linux-mips32",
 +            "mipsel-unknown-netbsd" => "NetBSD-generic32",
              "powerpc-unknown-freebsd" => "BSD-generic32",
              "powerpc-unknown-linux-gnu" => "linux-ppc",
+             "powerpc-unknown-linux-gnuspe" => "linux-ppc",
 +            "powerpc-unknown-netbsd" => "BSD-generic32",
              "powerpc64-unknown-freebsd" => "BSD-generic64",
              "powerpc64-unknown-linux-gnu" => "linux-ppc64",
              "powerpc64-unknown-linux-musl" => "linux-ppc64",
-@@ -272,8 +280,10 @@ impl Build {
+@@ -283,8 +291,10 @@ impl Build {
              "powerpc64le-unknown-linux-gnu" => "linux-ppc64le",
              "powerpc64le-unknown-linux-musl" => "linux-ppc64le",
              "riscv64gc-unknown-linux-gnu" => "linux-generic64",


Home | Main Index | Thread Index | Old Index