pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Reduce the differences to lang/rust.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Sun Jan 3 19:15:02 2021 +0100
Changeset: 96e0166566829990e0e3b346f19183455ed9c2e4
Modified Files:
rust/Makefile
rust/distinfo
rust/options.mk
Added Files:
rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs
rust/patches/patch-vendor_net2_src_ext.rs
rust/patches/patch-vendor_openssl-src_src_lib.rs
Log Message:
Reduce the differences to lang/rust.
* add TEST_TARGET
* adjust size optimization for the ARM targets
* Universally bump required bootstrap version to 1.47.0
* Add the 9.0-specific powerpc bootstrap, needed due to ABI issues
* Adjust the use of libatomic and libatomic-links, make rustc search
the libatomic-links directory
* Build by default with the built-in curl and openssl, ref. options.mk
* Add a patch for vendor/net2 for NetBSD
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=96e0166566829990e0e3b346f19183455ed9c2e4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust/Makefile | 80 ++++++---
rust/distinfo | 187 +++++++++++----------
rust/options.mk | 16 ++
...compiler_rustc__target_src_spec_netbsd__base.rs | 16 ++
rust/patches/patch-vendor_net2_src_ext.rs | 17 ++
rust/patches/patch-vendor_openssl-src_src_lib.rs | 44 +++++
6 files changed, 250 insertions(+), 110 deletions(-)
diffs:
diff --git a/rust/Makefile b/rust/Makefile
index b10f0f335a..cdb4b0dc9e 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -73,6 +73,8 @@ CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
UNLIMIT_RESOURCES+= cputime datasize virtualsize
+TEST_TARGET= check
+
# bin/* lib/*, but names vary
CHECK_RELRO_SUPPORTED= no
CHECK_SSP_SUPPORTED= no
@@ -80,9 +82,11 @@ CHECK_SSP_SUPPORTED= no
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) || \
- !empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf)
+ !empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf) || \
+ !empty(TARGET:Marmv7-unknown-netbsd-eabihf)
# Bootstrapping on NetBSD/powerpc requires no debug-info from rustc
# (both for amd64->powerpc built and powerpc->powerpc built bootstrap bits)
+# Also try to downsize the armv7 build.
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --disable-debug-assertions
CONFIGURE_ARGS+= --disable-llvm-release-debuginfo
@@ -94,9 +98,12 @@ CONFIGURE_ARGS+= --debuginfo-level-tests=0
.endif
# Only build the ARM target on/for this host, due to resource constraints
-# (X86 needs to go along due to 2-stage build process)
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf) || \
- !empty(TARGET:Marmv7-unknown-netbsd-eabihf)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf)
+CONFIGURE_ARGS+= --set llvm.targets="ARM"
+.endif
+# When cross-building for ARM on X86, X86 needs to go along due
+# to 2-stage build process
+.if !empty(TARGET:Marmv7-unknown-netbsd-eabihf)
CONFIGURE_ARGS+= --set llvm.targets="ARM;X86"
.endif
@@ -153,7 +160,7 @@ BUILDLINK_TRANSFORM.NetBSD+= rm:-Wl,--enable-new-dtags
DISTFILES:= ${DEFAULT_DISTFILES}
.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.44.1
+RUST_STAGE0_VER= 1.47.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
@@ -161,7 +168,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.44.1
+RUST_STAGE0_VER= 1.47.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
@@ -169,7 +176,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.44.1
+RUST_STAGE0_VER= 1.47.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
@@ -196,7 +203,7 @@ CONFIGURE_ARGS+= --target=${RUST_ARCH}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MFreeBSD-*-i386) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.44.1
+RUST_STAGE0_VER= 1.47.0
RUST_ARCH:= i686-unknown-freebsd
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -204,7 +211,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MFreeBSD-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.44.1
+RUST_STAGE0_VER= 1.47.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
@@ -212,7 +219,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.44.1
+RUST_STAGE0_VER= 1.47.0
RUST_ARCH= i686-unknown-netbsd
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -229,7 +236,7 @@ pre-build-fix:
${TOOLS_PLATFORM.paxctl} +am ${WRKDIR}/rust-bootstrap/bin/rustc
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.46.0
+RUST_STAGE0_VER= 1.47.0
RUST_ARCH= x86_64-unknown-netbsd
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -237,17 +244,31 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.44.1
+RUST_STAGE0_VER= 1.47.0
RUST_ARCH= powerpc-unknown-netbsd
-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}
-SITES.${RUST_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
+
+# Cross-built against NetBSD 9.0
+. if empty(OS_VERSION:M8.*) || make(distinfo) || make(makesum) || make(mdi)
+RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}90.tar.gz
+RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}90.tar.gz
+DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
+SITES.${RUST_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
SITES.${RUST_STD_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
+. endif
+
+# Cross-built against NetBSD 8.0
+. if !empty(OS_VERSION:M8.*) || make(distinfo) || make(makesum) || make(mdi)
+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}
+SITES.${RUST_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
+SITES.${RUST_STD_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
+. endif
+
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.44.1
+RUST_STAGE0_VER= 1.47.0
RUST_ARCH= aarch64-unknown-netbsd
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -257,7 +278,7 @@ SITES.${RUST_STD_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.44.1
+RUST_STAGE0_VER= 1.47.0
RUST_ARCH= sparc64-unknown-netbsd
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -268,7 +289,7 @@ pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf) || make(distinfo) || make (makesum) || make(mdi)
RUST_ARCH= armv7-unknown-netbsd-eabihf
-RUST_STAGE0_VER= 1.44.0
+RUST_STAGE0_VER= 1.47.0
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}
@@ -295,6 +316,7 @@ TOOLS_PLATFORM.gzcat= ${PREFIX}/bin/gzip -cd
SUBST_CLASSES+= rpath
SUBST_STAGE.rpath= pre-configure
SUBST_FILES.rpath+= compiler/rustc_codegen_ssa/src/back/linker.rs
+SUBST_FILES.rpath+= compiler/rustc_target/src/spec/netbsd_base.rs
SUBST_FILES.rpath+= src/bootstrap/builder.rs
SUBST_FILES.rpath+= src/bootstrap/compile.rs
SUBST_VARS.rpath= PREFIX
@@ -317,6 +339,14 @@ CKSUM_CRATES+= vendor/stacker
CKSUMS+= cee329550bad2ed1182abb71db9c24558a91b12e1eab8d9a48e23b997bb8f04e
CKSUMS+= 79915b243d02df1dc698f5c2de3a9356c6c296d2dedb06d9035dbcc2f8972cf4
+CKSUM_CRATES+= vendor/net2
+CKSUMS+= fd072307ebbaa01cfe1fd7553d7f42d27093b2bd32dd81d419d2e1c9423495a0
+CKSUMS+= 9e146a847e1f726fa7d7eae224aaa925030287f99770f950a012cb398e088d12
+
+CKSUM_CRATES+= vendor/openssl-src
+CKSUMS+= 29499e62a2cde2fda48d21df58812ee5c198ef744522992bde8faae76747ac08
+CKSUMS+= e34f9921c6531d043f3516821442aaeda86c7912d40cbddaf79bba6b08c37952
+
SUBST_CLASSES+= cksum
SUBST_STAGE.cksum= pre-configure
.for crate in ${CKSUM_CRATES}
@@ -536,9 +566,15 @@ DEPENDS+= compat80>=0:../../emulators/compat80
DEPENDS+= openssl>=1.1:../../security/openssl
.endif
+# This is for when we build natively:
+.if ((${OPSYS} == "NetBSD") && \
+ ((${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "i386")))
+# LLVM needs libatomic for 64-bit atomics on powerpc and i386
+.include "../../devel/libatomic/buildlink3.mk"
+# Make those libraries available via a unique directory:
+DEPENDS+= libatomic-links>=0:../../devel/libatomic-links
+.endif
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/tool.mk"
-.include "../../security/openssl/buildlink3.mk"
-BUILDLINK_API_DEPENDS.curl+= curl>=7.67.0
-.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/rust/distinfo b/rust/distinfo
index 7dc26c7ba1..4ccb2ac244 100644
--- a/rust/distinfo
+++ b/rust/distinfo
@@ -1,103 +1,112 @@
$NetBSD: distinfo,v 1.118 2020/08/06 11:42:56 jperkin Exp $
-SHA1 (rust-1.44.0-armv7-unknown-netbsd-eabihf.tar.gz) = c08ff8852b5a8af3df62728ead7a5bd342b416d6
-RMD160 (rust-1.44.0-armv7-unknown-netbsd-eabihf.tar.gz) = 512a339ae09b7803d2d97d1a65e35a32022bac5b
-SHA512 (rust-1.44.0-armv7-unknown-netbsd-eabihf.tar.gz) = c2bae11700ceb20753ced519db77b58640b6306d9cbf979cbc3fcb80dcd6d580283a227599aa7e5dee2dac5ad230290f6ee19843ae5522103e41e9d5c14ff2cc
-Size (rust-1.44.0-armv7-unknown-netbsd-eabihf.tar.gz) = 148880580 bytes
-SHA1 (rust-1.44.1-aarch64-unknown-netbsd.tar.gz) = e5ff7fdc3d6c126867b0a8d029bf23d38bf61b01
-RMD160 (rust-1.44.1-aarch64-unknown-netbsd.tar.gz) = 7d0a0c3ae1c1c579ee282bd14f8f97577f94799a
-SHA512 (rust-1.44.1-aarch64-unknown-netbsd.tar.gz) = ffde9bb83988291e259377de7229380cb6eee47342fb6465a0aa80efa6f98b33ec0f20eb3eb8bbeb7c8dd4cd8468d47ce61f0297987d22d73a3f0db4af01b49e
-Size (rust-1.44.1-aarch64-unknown-netbsd.tar.gz) = 155146344 bytes
-SHA1 (rust-1.44.1-i686-unknown-freebsd.tar.gz) = 84de4d6ac613724d4a3d7077411bb2e617888a19
-RMD160 (rust-1.44.1-i686-unknown-freebsd.tar.gz) = 1ac0f9dff7f32f8637af8d066e09c8aea39de716
-SHA512 (rust-1.44.1-i686-unknown-freebsd.tar.gz) = 913b8d7016eccb2bdec3ddfbf25f6e00319e4b9a7151426bc374c5ab1d6e1703eccf1a8a40dfcb34b12a96079b36bcc76ed8842c9e2cfcb44c9b3d2d14c23bea
-Size (rust-1.44.1-i686-unknown-freebsd.tar.gz) = 123791731 bytes
-SHA1 (rust-1.44.1-i686-unknown-linux-gnu.tar.gz) = 053e7703cef1cce55a032198d60245c8713b5176
-RMD160 (rust-1.44.1-i686-unknown-linux-gnu.tar.gz) = 4d17c0ed0df388dad2e07992ea278d7004550b7a
-SHA512 (rust-1.44.1-i686-unknown-linux-gnu.tar.gz) = eadcb9feb8cfefd23b8d75324fb9de01d983c5ddfdfe9ca1f909470bfe5a4fe90cd85f5d3d76c13e24b60acf99305a14311a030e153fd3f92dc420bcfcd7e029
-Size (rust-1.44.1-i686-unknown-linux-gnu.tar.gz) = 205340142 bytes
-SHA1 (rust-1.44.1-i686-unknown-netbsd.tar.gz) = 8de77aa5ce6e4ed3ab3e88e09820a7490adf4564
-RMD160 (rust-1.44.1-i686-unknown-netbsd.tar.gz) = f7bd0f5ccca4be910bd1eae5d68d89d1ce03c9f5
-SHA512 (rust-1.44.1-i686-unknown-netbsd.tar.gz) = d14eb2968b2bf5fe6329fddce652ac53c1179caffefac9117bb1397092df2cd7749804b8351aedbb16a2cbce990fac11a5021a189aeb9f87885d716a1a9488f5
-Size (rust-1.44.1-i686-unknown-netbsd.tar.gz) = 164323310 bytes
-SHA1 (rust-1.44.1-powerpc-unknown-netbsd.tar.gz) = c126c0124efcc36df0ac7c2c4e0836e1587fa2be
-RMD160 (rust-1.44.1-powerpc-unknown-netbsd.tar.gz) = 160ae6e795e7dd28f3e9e095da5a026f34b5fa40
-SHA512 (rust-1.44.1-powerpc-unknown-netbsd.tar.gz) = 704095c99a43e3d61f6329187ea96b011561ca07c576de4b60778b2e09e4d8f7365d746a5ac075cdde36738275b745bc119b11e908024b07690a401bb2936985
-Size (rust-1.44.1-powerpc-unknown-netbsd.tar.gz) = 172387750 bytes
-SHA1 (rust-1.44.1-sparc64-unknown-netbsd.tar.gz) = 88d53387943b9456ab9660bb0a9556f0c635cc85
-RMD160 (rust-1.44.1-sparc64-unknown-netbsd.tar.gz) = 0c59faa5190dfeb161bf5752d03f548efb19a4bc
-SHA512 (rust-1.44.1-sparc64-unknown-netbsd.tar.gz) = b48cbb0903ff3e4b64f593f9d3ba93d5049ceacf4b1945ccc487e4e94e09592b80a2992171b6f55887d7e9b77b5e8d6a65ce8c24b40bd47ff89440c19f031e5c
-Size (rust-1.44.1-sparc64-unknown-netbsd.tar.gz) = 163658729 bytes
-SHA1 (rust-1.44.1-x86_64-apple-darwin.tar.gz) = efce87a3d3d48d93f031e165b9794a850eafee2e
-RMD160 (rust-1.44.1-x86_64-apple-darwin.tar.gz) = d4aa88273da38bfc74030dd4e15f7dac11c2afc6
-SHA512 (rust-1.44.1-x86_64-apple-darwin.tar.gz) = 81b923805f0425311073142e6cb798429c1833240b3951cd615850f13900d6a47e2751bf65389246db7b98a7a81c11fa90d3a6861c4eff579cda6af53097c0d4
-Size (rust-1.44.1-x86_64-apple-darwin.tar.gz) = 173941368 bytes
-SHA1 (rust-1.44.1-x86_64-unknown-freebsd.tar.gz) = a4a32fc0300272f7ab75973cf95ca7a52b4cba24
-RMD160 (rust-1.44.1-x86_64-unknown-freebsd.tar.gz) = a26b6a2df7e8d09e92549490121b73fd6a938ce5
-SHA512 (rust-1.44.1-x86_64-unknown-freebsd.tar.gz) = 750d0e7b07bc3fba1980ef4ccd777a2c062283b9c94798e6150ade7f1de40d32f3398a8f6675220649ee2fc3c537f6071981dd852ba0933c7619731d33be1244
-Size (rust-1.44.1-x86_64-unknown-freebsd.tar.gz) = 124148420 bytes
-SHA1 (rust-1.44.1-x86_64-unknown-linux-gnu.tar.gz) = d9f79f976c7270a782cba9e5c08f3064d94ccb1e
-RMD160 (rust-1.44.1-x86_64-unknown-linux-gnu.tar.gz) = 3a5cbf8538b3aadfe2bda6cbec5599a2eccba9ce
-SHA512 (rust-1.44.1-x86_64-unknown-linux-gnu.tar.gz) = aa78c32a3dfd4b01d5e69a44bc978206b50581586af1b45105400fbd6b28a9946141063d68781218ca9fbaaf0edfdfe708081ecf97facba176095868b6187773
-Size (rust-1.44.1-x86_64-unknown-linux-gnu.tar.gz) = 189534350 bytes
-SHA1 (rust-1.46.0-x86_64-unknown-netbsd.tar.gz) = 61956d35f668318f91523edf983ef280c967e4f8
-RMD160 (rust-1.46.0-x86_64-unknown-netbsd.tar.gz) = f73fe050d4f536bba8577104eb93471a468b714c
-SHA512 (rust-1.46.0-x86_64-unknown-netbsd.tar.gz) = afaeb235f445a8813838548ee694c90ab71c3a0fc235652ce0d35e932f0609e2be9f5986bd99ed80d03b24e1b1362ccb6db05cb1eff61284a523477b19f34d7a
-Size (rust-1.46.0-x86_64-unknown-netbsd.tar.gz) = 154685586 bytes
+SHA1 (rust-1.47.0-aarch64-unknown-netbsd.tar.gz) = f0b42fe4c567ffb0d83b523854bca4fa67d4167e
+RMD160 (rust-1.47.0-aarch64-unknown-netbsd.tar.gz) = e5d079b0920aa02b16b4a9804867e6d1118833eb
+SHA512 (rust-1.47.0-aarch64-unknown-netbsd.tar.gz) = 169ec96ffaa4acf11a788df32645e2a05eec51577bb9fa1dc6d92138e7b192cfd9cc5cf7233888fc2f92faea9b01e825c6ad12bce22e90cdb3547d921b716072
+Size (rust-1.47.0-aarch64-unknown-netbsd.tar.gz) = 199151437 bytes
+SHA1 (rust-1.47.0-armv7-unknown-netbsd-eabihf.tar.gz) = af3cd6f8e399bb4bd3b380656bd38be442659d63
+RMD160 (rust-1.47.0-armv7-unknown-netbsd-eabihf.tar.gz) = 252e5b5acd7127771c3e2efad5d0778261d3e9c7
+SHA512 (rust-1.47.0-armv7-unknown-netbsd-eabihf.tar.gz) = 8e848269796a8873a6a38280fc6d36126e028fc86a23fc6b10abe9144f0ac3fde8bbaeab94a2fff6f8c6afc472102397b25acad9c941ffb9df675b807abb4e7d
+Size (rust-1.47.0-armv7-unknown-netbsd-eabihf.tar.gz) = 194009311 bytes
+SHA1 (rust-1.47.0-i686-unknown-freebsd.tar.gz) = 300946572098d0b5a0f0cb478a3db603552b0094
+RMD160 (rust-1.47.0-i686-unknown-freebsd.tar.gz) = df7837448c979ed0236fdca341416970ed318789
+SHA512 (rust-1.47.0-i686-unknown-freebsd.tar.gz) = 3afd2825a595a0b49f70be5208af32d009a893a0503d39a8107c0a7f6aed03388de17d7969952f38e5f17cb8eec797c7b6c0ef4fb7e8753117d25b8f636867b2
+Size (rust-1.47.0-i686-unknown-freebsd.tar.gz) = 165705233 bytes
+SHA1 (rust-1.47.0-i686-unknown-linux-gnu.tar.gz) = 4bfcacb88da06c79cbf4befed7abaf2c68879136
+RMD160 (rust-1.47.0-i686-unknown-linux-gnu.tar.gz) = 18f068c22805456608b317388599c16198fe3577
+SHA512 (rust-1.47.0-i686-unknown-linux-gnu.tar.gz) = e0242669826ea5cdc7c16f76cfb5aa83ea8b258575086e48c60e47b4532f763133ec3d205be262bc2ea6fb34157e71fae1a9851075d88065c2a44bb1aa05c083
+Size (rust-1.47.0-i686-unknown-linux-gnu.tar.gz) = 260725750 bytes
+SHA1 (rust-1.47.0-i686-unknown-netbsd.tar.gz) = 8879f74868b4be0cb3a67e8cb8f0e5012f860886
+RMD160 (rust-1.47.0-i686-unknown-netbsd.tar.gz) = ac76b7f4dcc02869c914078198815c75ab31dede
+SHA512 (rust-1.47.0-i686-unknown-netbsd.tar.gz) = 7adfa7bd4333e51f66747c020e357611078bd043fa198eaff794f1c7052b88f567eca8d072a6d91256524057108985e4c274727dc6b069093329557f6b19a1da
+Size (rust-1.47.0-i686-unknown-netbsd.tar.gz) = 211036337 bytes
+SHA1 (rust-1.47.0-powerpc-unknown-netbsd.tar.gz) = c525e9f7e5522aa5317d2a4cbcfac9be6ad51450
+RMD160 (rust-1.47.0-powerpc-unknown-netbsd.tar.gz) = 505fb203ef2760b4e4b959bb086942086d3869e4
+SHA512 (rust-1.47.0-powerpc-unknown-netbsd.tar.gz) = 244cce86e51069c6e551c396340294b47ac980c86f7c87e0c8e5b0e6d2412d463cb877c17173534198d96880de86bec63d158ec28781f350c5cc37a88ddba57f
+Size (rust-1.47.0-powerpc-unknown-netbsd.tar.gz) = 221658288 bytes
+SHA1 (rust-1.47.0-powerpc-unknown-netbsd90.tar.gz) = 77af4384128f27a8c90927485fdc9d9f317003f3
+RMD160 (rust-1.47.0-powerpc-unknown-netbsd90.tar.gz) = 98d1bfcc425dc36b8c43d2bd660d517903a7d534
+SHA512 (rust-1.47.0-powerpc-unknown-netbsd90.tar.gz) = 5f076f9499c7ff99dc242fd32600b1fae8d95009f4aa7e23bd8d24d5e3fe661c37f861678229e053767da346f43f4ad9198854bcb7cdc583f30f3b3566b811fc
+Size (rust-1.47.0-powerpc-unknown-netbsd90.tar.gz) = 224431630 bytes
+SHA1 (rust-1.47.0-sparc64-unknown-netbsd.tar.gz) = 6fba5170fe900e407df2fb9458dd0b55bbeb3abd
+RMD160 (rust-1.47.0-sparc64-unknown-netbsd.tar.gz) = af00b5c05f4596326ddee34c2b49c83ca82cf0af
+SHA512 (rust-1.47.0-sparc64-unknown-netbsd.tar.gz) = fa7b8171a8fc3cc68e8d01d19ef7cbdd86c972d72b12ff4b82db453cff7ab2737cf877998dbed04110d194a7921c51dbfa7d74290bbf6a032ae47e9c76243750
+Size (rust-1.47.0-sparc64-unknown-netbsd.tar.gz) = 213420565 bytes
+SHA1 (rust-1.47.0-x86_64-apple-darwin.tar.gz) = b6fab31455cab494f6181fadf62a62024e3f04bf
+RMD160 (rust-1.47.0-x86_64-apple-darwin.tar.gz) = 96a923852dcd07403dc99690cbb8a30f8f079b8e
+SHA512 (rust-1.47.0-x86_64-apple-darwin.tar.gz) = a79d0b63c80156071f3c45495aef8c15a21e542ef91ddc82b060fe855435931aff9a033e49489d1bdc99b9fa90c3699c070ec315ba1528ae80c3b04dca386092
+Size (rust-1.47.0-x86_64-apple-darwin.tar.gz) = 217297294 bytes
+SHA1 (rust-1.47.0-x86_64-unknown-freebsd.tar.gz) = 188b6ff63d84c5cc77837a8c0da336a252817193
+RMD160 (rust-1.47.0-x86_64-unknown-freebsd.tar.gz) = 75b1bf671bb213c21e2837b2906a304efed73140
+SHA512 (rust-1.47.0-x86_64-unknown-freebsd.tar.gz) = c7f824a3c30abe88dc1407d9cf3df3a15ae1956bac1440ef840bb8568ba5c90de41752c5fb7911efe6ea2d980e043024a919a91c00baf9818d9860b73e8c095f
+Size (rust-1.47.0-x86_64-unknown-freebsd.tar.gz) = 167054016 bytes
+SHA1 (rust-1.47.0-x86_64-unknown-linux-gnu.tar.gz) = 0490c63e3867f2f08ccb9d59115d4178fe9a2d48
+RMD160 (rust-1.47.0-x86_64-unknown-linux-gnu.tar.gz) = a778edf90b0588410548fe4be0555c8d6af04d83
+SHA512 (rust-1.47.0-x86_64-unknown-linux-gnu.tar.gz) = 71a4e1502fa61343f375e546d32be9c7ef80f5121ed8245fc5bce4fc63a71e5b773860c1c73c30b43b0fe9d925edef83724e5bdee647a57674cc0a49ae80a140
+Size (rust-1.47.0-x86_64-unknown-linux-gnu.tar.gz) = 258961351 bytes
+SHA1 (rust-1.47.0-x86_64-unknown-netbsd.tar.gz) = 7266eda5b62ad3694adf060ae338b377f87a1964
+RMD160 (rust-1.47.0-x86_64-unknown-netbsd.tar.gz) = 3af2c1979828ac4b58f8bac7afab6f74a7c50049
+SHA512 (rust-1.47.0-x86_64-unknown-netbsd.tar.gz) = 8144315817e95bda035bfb4e36d26cc98b05207608153d904a6b844d7fb5b91c05d8b85e835364c61ac03e1abc7de35da9c1f38f14e097821336707ef9bc8103
+Size (rust-1.47.0-x86_64-unknown-netbsd.tar.gz) = 169801360 bytes
SHA1 (rust-1.48.0-x86_64-unknown-illumos.tar.gz) = 23afcbc003c01940277978553b4afd75ec5d333d
RMD160 (rust-1.48.0-x86_64-unknown-illumos.tar.gz) = 6510186be6f216e47cb1971500dbf1fd27f96e09
SHA512 (rust-1.48.0-x86_64-unknown-illumos.tar.gz) = e0153c7c400eea2f3b59c9f63c0ee0dbaf3f8ccf645c1ad4c66f90727d41894dcb49ddacf622fc8572ab45734472e59970de64939bec0f6d6f94f5797ce05fb4
Size (rust-1.48.0-x86_64-unknown-illumos.tar.gz) = 189960423 bytes
-SHA1 (rust-std-1.44.0-armv7-unknown-netbsd-eabihf.tar.gz) = ef2043dd95e4b56526060f9497c523ca7670ebcd
-RMD160 (rust-std-1.44.0-armv7-unknown-netbsd-eabihf.tar.gz) = f2a11dea07bd9982b99e26baf74259ce21af3121
-SHA512 (rust-std-1.44.0-armv7-unknown-netbsd-eabihf.tar.gz) = 8903e258f3cc3a9fd8b1bf982b42560bbc47b3be583dea8687d50eadc92a98f739211d865a812de2cf6e4828e94e97a5934a02120d3eaff8342669ee1e0afc37
-Size (rust-std-1.44.0-armv7-unknown-netbsd-eabihf.tar.gz) = 17716720 bytes
-SHA1 (rust-std-1.44.1-aarch64-unknown-netbsd.tar.gz) = 546a8299b855cb900ac6faaf388225635d7db3eb
-RMD160 (rust-std-1.44.1-aarch64-unknown-netbsd.tar.gz) = aa115005fda7c572546aba6eed507a9d1cfb311d
-SHA512 (rust-std-1.44.1-aarch64-unknown-netbsd.tar.gz) = 5eaf1d1d334e30c713c2b3da9de59e6ddd2970371b3e797cf5306e44ad4babcd6e8c0bd392306e65e44e0b3a3ecca40adf4ae1a083911cb4203f40f758f9ee4f
-Size (rust-std-1.44.1-aarch64-unknown-netbsd.tar.gz) = 17873583 bytes
-SHA1 (rust-std-1.44.1-i686-unknown-freebsd.tar.gz) = 68cc2c9fc4af62e0b2d1a39e18c714895fa95c8f
-RMD160 (rust-std-1.44.1-i686-unknown-freebsd.tar.gz) = 823551f739cf6d0a75b973696d93bd7d9bfccea5
-SHA512 (rust-std-1.44.1-i686-unknown-freebsd.tar.gz) = 1a395c368f6b64876e3169934d9c3f8ea07bfd509bbd80a958d0db9903fc7f99b1f2b3222ad69ebc576a916fe185d3730f2521afa2e523ecee1245c494f21b4d
-Size (rust-std-1.44.1-i686-unknown-freebsd.tar.gz) = 22674933 bytes
-SHA1 (rust-std-1.44.1-i686-unknown-linux-gnu.tar.gz) = 630421b44f3d1c6028be520cd9f01704e1c5b7cb
-RMD160 (rust-std-1.44.1-i686-unknown-linux-gnu.tar.gz) = 4a059a0a969cb3c8dcc2b70d45f63967c69e0a65
-SHA512 (rust-std-1.44.1-i686-unknown-linux-gnu.tar.gz) = a1a837f3740651f4985589350c0cfbf01c696e319086efe209adf7aa018de594f32b40cb5cafd376448b828a32a074b7d5a8535f48d4427e06092b8b6ae3b033
-Size (rust-std-1.44.1-i686-unknown-linux-gnu.tar.gz) = 23338895 bytes
-SHA1 (rust-std-1.44.1-i686-unknown-netbsd.tar.gz) = 6474a717f40ea14d562f9e5ad94e1ebfdfd36a8f
-RMD160 (rust-std-1.44.1-i686-unknown-netbsd.tar.gz) = bf861949d2ee970f23598f93f45b14704e476982
-SHA512 (rust-std-1.44.1-i686-unknown-netbsd.tar.gz) = ce194778568f96baf42163a46ac56719f8827d904c9dcda0a9bb5916ca32f5fbd40aa9620d2ebbaf8532c826d4265874a617f670b771680a6dfb1bcc64c15687
-Size (rust-std-1.44.1-i686-unknown-netbsd.tar.gz) = 19334579 bytes
-SHA1 (rust-std-1.44.1-powerpc-unknown-netbsd.tar.gz) = 128b4213938261131f7db2f853cfa6f337c66b72
-RMD160 (rust-std-1.44.1-powerpc-unknown-netbsd.tar.gz) = 12749d0af13fff59359d901014550627a8d72540
-SHA512 (rust-std-1.44.1-powerpc-unknown-netbsd.tar.gz) = bdbb4310cf34db0283544ea61336e28ee721fe1092faba09d946f769f7d0f3f9efb11579154b1572bec1b95fd35133e676e20a59ecaf2bec71d4541849553d56
-Size (rust-std-1.44.1-powerpc-unknown-netbsd.tar.gz) = 17452288 bytes
-SHA1 (rust-std-1.44.1-sparc64-unknown-netbsd.tar.gz) = a3c9f64fba652ae7d3c16cde7ee2547bc87fd92d
-RMD160 (rust-std-1.44.1-sparc64-unknown-netbsd.tar.gz) = ab1ab014a26c5d724bb0745bfab951ef2123d5bc
-SHA512 (rust-std-1.44.1-sparc64-unknown-netbsd.tar.gz) = d96f88e872669fb5c36804b1f99422f36c23d7ca0cd12bb2b31485e3993c5639fd9d79ef8ea8df4f6aacfea4620239c3379586856ba76309705965c048330a98
-Size (rust-std-1.44.1-sparc64-unknown-netbsd.tar.gz) = 17626664 bytes
-SHA1 (rust-std-1.44.1-x86_64-apple-darwin.tar.gz) = 06df3959bedb25a5f47e6f050a4c26217a303d9e
-RMD160 (rust-std-1.44.1-x86_64-apple-darwin.tar.gz) = 770585582cc6af8f96464140001ef5cddba899a9
-SHA512 (rust-std-1.44.1-x86_64-apple-darwin.tar.gz) = f121d275b2fddf3bbf24f4f23d2f156e4b8da838a408e5268c1b755e1b400c0199477890a49aaf9331376d4c364d2ef90c3293d3e7b5ddea78b43587489ba3ba
-Size (rust-std-1.44.1-x86_64-apple-darwin.tar.gz) = 23935573 bytes
-SHA1 (rust-std-1.44.1-x86_64-unknown-freebsd.tar.gz) = b6d63ae79006d0e1e16954d5f490b599e95e524e
-RMD160 (rust-std-1.44.1-x86_64-unknown-freebsd.tar.gz) = c7d893fbdf4d28386ab059a595ecb1e2b999fc92
-SHA512 (rust-std-1.44.1-x86_64-unknown-freebsd.tar.gz) = 2d052db6eab154366fc872a96a11a5c81f87b7b93ac348bd4e059291fffc6b2d111b98fa6e73dd5098e33bd0294dac50efde52c26d93b5f8f57978d2b09f3952
-Size (rust-std-1.44.1-x86_64-unknown-freebsd.tar.gz) = 22873337 bytes
-SHA1 (rust-std-1.44.1-x86_64-unknown-linux-gnu.tar.gz) = d39a6f66ec30a2bf19730f901727fdc3943bc607
-RMD160 (rust-std-1.44.1-x86_64-unknown-linux-gnu.tar.gz) = fade7ca14a845c1433db0f91785125e0d470b6f3
-SHA512 (rust-std-1.44.1-x86_64-unknown-linux-gnu.tar.gz) = ac700cb7c7133cfd2a53a12be7b6955c435032a237235d803a26ae9dac793ff14d09155271da160f35b93c25970920ceddacd7f413292caa90ea7dd125cc5d93
-Size (rust-std-1.44.1-x86_64-unknown-linux-gnu.tar.gz) = 26512846 bytes
-SHA1 (rust-std-1.46.0-x86_64-unknown-netbsd.tar.gz) = 154767516a8f1e358c340d602efa9d86622cb4bd
-RMD160 (rust-std-1.46.0-x86_64-unknown-netbsd.tar.gz) = 1f504e4f7053246067d0e41ddbcadd85ddf573c6
-SHA512 (rust-std-1.46.0-x86_64-unknown-netbsd.tar.gz) = 2e3431bfe462408906b4553a181653b68c615bae6170362e73dd125ae538b499cd745cc903ca79db41aff9bff3ce366726c92570be5fa264723be7d7018fbbce
-Size (rust-std-1.46.0-x86_64-unknown-netbsd.tar.gz) = 22644831 bytes
+SHA1 (rust-std-1.47.0-aarch64-unknown-netbsd.tar.gz) = 884af2f7056645358eff12d13d9cb31e67144b0c
+RMD160 (rust-std-1.47.0-aarch64-unknown-netbsd.tar.gz) = a103715a5281546f5d980bb24eac6f5967b1ff61
+SHA512 (rust-std-1.47.0-aarch64-unknown-netbsd.tar.gz) = 813507abf2bec48741823315d0b234460ab248da1ff6b0f8eeb72452b7dd9ef80e3fa1df98134204aeced60486d6076ac11cc2f1ce77a370957aa9111a1d1fda
+Size (rust-std-1.47.0-aarch64-unknown-netbsd.tar.gz) = 24376858 bytes
+SHA1 (rust-std-1.47.0-armv7-unknown-netbsd-eabihf.tar.gz) = d082780034e9c0bafd349f9e3a4e863754e814ac
+RMD160 (rust-std-1.47.0-armv7-unknown-netbsd-eabihf.tar.gz) = d1decf4edda1898ac80b4529361d13d12a464dae
+SHA512 (rust-std-1.47.0-armv7-unknown-netbsd-eabihf.tar.gz) = 39d9fb834732a385da7ee931e2e2fea569c484fbe2a582c0c8c487fd1edd82818acf9c88dca792bcc8c6629110dd5f88ff483af86f9c28821922904d999ce762
+Size (rust-std-1.47.0-armv7-unknown-netbsd-eabihf.tar.gz) = 24100214 bytes
+SHA1 (rust-std-1.47.0-i686-unknown-freebsd.tar.gz) = 518fad5ad56029f56d6ff336bd211e6e004eb913
+RMD160 (rust-std-1.47.0-i686-unknown-freebsd.tar.gz) = ab375f9c4c70598f05dd0ebb1b51388b104807a7
+SHA512 (rust-std-1.47.0-i686-unknown-freebsd.tar.gz) = a0b047de934f54db8298409f98e3d96f81d67bcc476a80573c5a3dcc13da9c6e83a0118992a2d6831c5659f08f02421dae9a0b78f2c1e3c5fbc188bdcc2caf4e
+Size (rust-std-1.47.0-i686-unknown-freebsd.tar.gz) = 30859334 bytes
+SHA1 (rust-std-1.47.0-i686-unknown-linux-gnu.tar.gz) = 467467bfe511a6f02b4df1d41254793d4439d537
+RMD160 (rust-std-1.47.0-i686-unknown-linux-gnu.tar.gz) = fe3145387d6294a79df0530cc4a7b57409368644
+SHA512 (rust-std-1.47.0-i686-unknown-linux-gnu.tar.gz) = efe1495c98f400d3d3fc9f720b0102dab5805d4d0117d231e5d7cc0849022ef6230b0c9d84c8d932e039ab79c76cf7368b5f5281af91152fee4219b8dc614275
+Size (rust-std-1.47.0-i686-unknown-linux-gnu.tar.gz) = 31420176 bytes
+SHA1 (rust-std-1.47.0-i686-unknown-netbsd.tar.gz) = 344493acb21c5300948df243bfc09f4e3d2549c4
+RMD160 (rust-std-1.47.0-i686-unknown-netbsd.tar.gz) = 7ac33388f10dbac506103d07c5dedeea5d7189e4
+SHA512 (rust-std-1.47.0-i686-unknown-netbsd.tar.gz) = c50311303f42be9bcc685a325475b171c525ff8b04dacc4909fb3cb7efdf4a6d6727713cb886d65878226220e3ab6b033539c1f45a3ffc8664e6b10b0c1e793e
+Size (rust-std-1.47.0-i686-unknown-netbsd.tar.gz) = 27757522 bytes
+SHA1 (rust-std-1.47.0-powerpc-unknown-netbsd.tar.gz) = 38baf76e558de59734bb8e206f24469edb8bed38
+RMD160 (rust-std-1.47.0-powerpc-unknown-netbsd.tar.gz) = 6695e5f27cd67bc21fe691cb765e75aba1e7f89d
+SHA512 (rust-std-1.47.0-powerpc-unknown-netbsd.tar.gz) = eac80d5eac3a7cb68703c9a3725ef4edfe13492a9663d1523dd1a68bfa583b345e0dec80bc452cb771d22066e4ab6d9487b7be72da6c9c6d6e335e8724b3d7e5
+Size (rust-std-1.47.0-powerpc-unknown-netbsd.tar.gz) = 23960056 bytes
+SHA1 (rust-std-1.47.0-powerpc-unknown-netbsd90.tar.gz) = 525732d0e731c80285db7f2a06f77f094fa4ea9f
+RMD160 (rust-std-1.47.0-powerpc-unknown-netbsd90.tar.gz) = 15f0254a64d644177d706b5dddefd79ede2bf118
+SHA512 (rust-std-1.47.0-powerpc-unknown-netbsd90.tar.gz) = 08a06928090fdd9dcbacca4b9155737ea9bc0eafc16e7a4873caea35e34946ed347f10f79e9f9c630f315f51e64124907cd1f3ad8fa76c99f80243f56378d223
+Size (rust-std-1.47.0-powerpc-unknown-netbsd90.tar.gz) = 23954845 bytes
+SHA1 (rust-std-1.47.0-sparc64-unknown-netbsd.tar.gz) = cfe530888826ef444be25c9e7574cab259667d4a
+RMD160 (rust-std-1.47.0-sparc64-unknown-netbsd.tar.gz) = 5fe62ffada49ef06cfdb9a510e0fc279e65a04fc
+SHA512 (rust-std-1.47.0-sparc64-unknown-netbsd.tar.gz) = dbc3e1d9deea4682e4c6e8558611bf79ae6dafabb99ee119408e2822cc847792cce1174691c37e659b011b6ee14f11d6936a3962e4d8ea32bac9ef7f5da38266
+Size (rust-std-1.47.0-sparc64-unknown-netbsd.tar.gz) = 24246031 bytes
+SHA1 (rust-std-1.47.0-x86_64-apple-darwin.tar.gz) = 170efd4dab0b26a15689a8fe07044f25de23dcb7
+RMD160 (rust-std-1.47.0-x86_64-apple-darwin.tar.gz) = e14974ba0ad1756d19e586fd1323437c46a6928a
+SHA512 (rust-std-1.47.0-x86_64-apple-darwin.tar.gz) = 687f82a95fc3c7ff14611ad0f3322bb64aabc97395edcd3d3f62a9143344ae43e8151f7757eabc4d2c809190d5fc773739909116b94ea230eae83e8032dc3ed0
+Size (rust-std-1.47.0-x86_64-apple-darwin.tar.gz) = 31292294 bytes
+SHA1 (rust-std-1.47.0-x86_64-unknown-freebsd.tar.gz) = f98597b57d0ccb032fd55500c9a955a19fa2f83b
+RMD160 (rust-std-1.47.0-x86_64-unknown-freebsd.tar.gz) = 48d7eb61876ef75c1ba396e914cdf3e84d4fda48
+SHA512 (rust-std-1.47.0-x86_64-unknown-freebsd.tar.gz) = 5f7707a83f69e7dfc73e1b7a88cfad82aa974af04e533bc77073252804b17b40cef16423febcd3d2a994925318631eadcc6103e635f7d7cb13f5ba4f5be197a8
+Size (rust-std-1.47.0-x86_64-unknown-freebsd.tar.gz) = 33406878 bytes
+SHA1 (rust-std-1.47.0-x86_64-unknown-linux-gnu.tar.gz) = e597556b5f3c006b695ec4d6281273077e0f261e
+RMD160 (rust-std-1.47.0-x86_64-unknown-linux-gnu.tar.gz) = c5d7f6bfc6cb36222d855ddcaca10e07977f21c4
+SHA512 (rust-std-1.47.0-x86_64-unknown-linux-gnu.tar.gz) = 7a37d9d910ba2cf5afc44a6951e8b82ff30a26f5ff88f98acdaef6336d5aef3ca50e7ca9814b3ca8d790866f12daf3fcd9aba446e7c7c3a3ff7717c2cd29b453
+Size (rust-std-1.47.0-x86_64-unknown-linux-gnu.tar.gz) = 34935707 bytes
+SHA1 (rust-std-1.47.0-x86_64-unknown-netbsd.tar.gz) = c5cfef99946d0868031bcadd198ca790c82709a2
+RMD160 (rust-std-1.47.0-x86_64-unknown-netbsd.tar.gz) = b463eff178c6ba0bb8f375e079c0e09a6bd00834
+SHA512 (rust-std-1.47.0-x86_64-unknown-netbsd.tar.gz) = 5696d3ad8db20e250dc4d93130160b61b7e359623b0838edd8a836cc126264dcdccddba7f50c968d98c02472880ebffe2057f48b2ab2c8cab7be54eb708ad3ef
+Size (rust-std-1.47.0-x86_64-unknown-netbsd.tar.gz) = 30938962 bytes
SHA1 (rustc-1.48.0-src.tar.gz) = a26f089d27c9cc283a7305fc8ece6b4674a036fd
RMD160 (rustc-1.48.0-src.tar.gz) = 28b6c2319a29c8f4282bf15da2c97d8c43bb27e1
SHA512 (rustc-1.48.0-src.tar.gz) = e28e5f0813cfd94fb92399a2d64aa19bdf0933b5fc768ea10da2a5b787c94bac6a5efb98b2c3702da3d1c46c6766b157df3727e5845b4b83a237b44ec45b27ba
Size (rustc-1.48.0-src.tar.gz) = 154487032 bytes
SHA1 (patch-compiler_rustc__codegen__ssa_src_back_linker.rs) = 72746bbf0fa5e72fe151c95e3876b9eb1e70ae39
SHA1 (patch-compiler_rustc__llvm_build.rs) = b5157022f0f1942ae2db1ab78145af1526780b18
+SHA1 (patch-compiler_rustc__target_src_spec_netbsd__base.rs) = c3a7ad7c218c405f5408562f720186cbfd4c665b
SHA1 (patch-compiler_rustc__target_src_spec_solaris__base.rs) = bcc420e4c8148cc0c92826aa7d146fc47e7c4863
SHA1 (patch-compiler_rustc__target_src_spec_x86__64__sun__solaris.rs) = 2c6f22a6c8412573b0e5ad436c8a231a3b740326
SHA1 (patch-library_backtrace_crates_backtrace-sys_src_libbacktrace_configure) = 5dc1cfc843894156b513c86453db5032917a5529
@@ -120,4 +129,6 @@ SHA1 (patch-src_tools_rls_rls_src_server_io.rs) = 51af64526db55abcf6b4b3165df314
SHA1 (patch-src_tools_rust-installer_install-template.sh) = f2ec6dced2be1fa23773d5827503ad07d0913dc2
SHA1 (patch-vendor_libc_src_unix_solarish_mod.rs) = 804ea03be546fef0d2bd37d7f8abb26d38a7892b
SHA1 (patch-vendor_lzma-sys_config.h) = b654c7e129fa02697734bc87173f89b3056a5437
+SHA1 (patch-vendor_net2_src_ext.rs) = 5c34f3eaaa0589eefe14d374d34fadd4900565fd
+SHA1 (patch-vendor_openssl-src_src_lib.rs) = 1512fa1da8c19aebca27ac5576293b7e7447aa40
SHA1 (patch-vendor_stacker_src_lib.rs) = 2f4db9971c0558ec7034052c810b8c8be80c4ae3
diff --git a/rust/options.mk b/rust/options.mk
index 4af966e7d4..7a9810693b 100644
--- a/rust/options.mk
+++ b/rust/options.mk
@@ -14,6 +14,9 @@ PKG_SUGGESTED_OPTIONS+= rust-llvm
. endif
.endif
+PKG_SUPPORTED_OPTIONS+= rust-cargo-static
+PKG_SUGGESTED_OPTIONS+= rust-cargo-static
+
.include "../../mk/bsd.options.mk"
#
@@ -30,3 +33,16 @@ CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm}
# XXX: fix for Rust 1.41.0 https://github.com/rust-lang/rust/issues/68714
MAKE_ENV+= LIBRARY_PATH=${BUILDLINK_PREFIX.llvm}/lib
.endif
+
+#
+# Link cargo statically against "native" libraries.
+# (openssl and curl specifically).
+#
+.if !empty(PKG_OPTIONS:Mrust-cargo-static)
+CONFIGURE_ARGS+= --enable-cargo-native-static
+.else
+BUILDLINK_API_DEPENDS.nghttp2+= nghttp2>=1.41.0
+BUILDLINK_API_DEPENDS.curl+= curl>=7.67.0
+.include "../../www/curl/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.endif
diff --git a/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs b/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs
new file mode 100644
index 0000000000..24b0cb8b95
--- /dev/null
+++ b/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs
@@ -0,0 +1,16 @@
+$NetBSD$
+
+For the benefit of powerpc, when libatomic-links is installed,
+search the directory containing the symlinks to -latomic.
+
+--- compiler/rustc_target/src/spec/netbsd_base.rs.orig 2020-08-24 15:00:49.000000000 +0000
++++ compiler/rustc_target/src/spec/netbsd_base.rs
+@@ -10,6 +10,8 @@ pub fn opts() -> TargetOptions {
+ // libraries which follow this flag. Thus, use it before
+ // specifying libraries to link to.
+ "-Wl,--as-needed".to_string(),
++ // For the benefit of powerpc, when libatomic-links is installed,
++ "-Wl,-L@PREFIX@/lib/libatomic".to_string(),
+ ],
+ );
+
diff --git a/rust/patches/patch-vendor_net2_src_ext.rs b/rust/patches/patch-vendor_net2_src_ext.rs
new file mode 100644
index 0000000000..ad8d594db7
--- /dev/null
+++ b/rust/patches/patch-vendor_net2_src_ext.rs
@@ -0,0 +1,17 @@
+$NetBSD: patch-vendor_net2_src_ext.rs,v 1.3 2021/01/01 20:44:48 he Exp $
+
+It looks like NetBSD doesn't need the same tweak as OpenBSD
+to use SO_KEEPALIVE instead of TCP_KEEPIDLE when specifying
+TCP-layer keepalive value.
+
+--- vendor/net2/src/ext.rs.orig 2020-11-16 14:27:49.000000000 +0000
++++ vendor/net2/src/ext.rs
+@@ -668,7 +668,7 @@ impl<T: AsRawSocket> AsSock for T {
+ cfg_if! {
+ if #[cfg(any(target_os = "macos", target_os = "ios"))] {
+ use libc::TCP_KEEPALIVE as KEEPALIVE_OPTION;
+- } else if #[cfg(any(target_os = "haiku", target_os = "netbsd", target_os = "openbsd"))] {
++ } else if #[cfg(any(target_os = "haiku", target_os = "openbsd"))] {
+ use libc::SO_KEEPALIVE as KEEPALIVE_OPTION;
+ } else if #[cfg(unix)] {
+ use libc::TCP_KEEPIDLE as KEEPALIVE_OPTION;
diff --git a/rust/patches/patch-vendor_openssl-src_src_lib.rs b/rust/patches/patch-vendor_openssl-src_src_lib.rs
new file mode 100644
index 0000000000..f3296eb6c5
--- /dev/null
+++ b/rust/patches/patch-vendor_openssl-src_src_lib.rs
@@ -0,0 +1,44 @@
+$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 2020-11-16 14:27:50.000000000 +0000
++++ vendor/openssl-src/src/lib.rs
+@@ -167,6 +167,7 @@ impl Build {
+ "aarch64-unknown-freebsd" => "BSD-generic64",
+ "aarch64-unknown-linux-gnu" => "linux-aarch64",
+ "aarch64-unknown-linux-musl" => "linux-aarch64",
++ "aarch64-unknown-netbsd" => "BSD-generic64",
+ "aarch64-pc-windows-msvc" => "VC-WIN64-ARM",
+ "arm-linux-androideabi" => "linux-armv4",
+ "armv7-linux-androideabi" => "linux-armv4",
+@@ -178,6 +179,7 @@ impl Build {
+ "armv7-unknown-freebsd" => "BSD-generic32",
+ "armv7-unknown-linux-gnueabihf" => "linux-armv4",
+ "armv7-unknown-linux-musleabihf" => "linux-armv4",
++ "armv7-unknown-netbsd-eabihf" => "BSD-generic32",
+ "asmjs-unknown-emscripten" => "gcc",
+ "i686-apple-darwin" => "darwin-i386-cc",
+ "i686-linux-android" => "linux-elf",
+@@ -186,6 +188,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",
+ "mips-unknown-linux-gnu" => "linux-mips32",
+ "mips-unknown-linux-musl" => "linux-mips32",
+ "mips64-unknown-linux-gnuabi64" => "linux64-mips64",
+@@ -193,11 +196,13 @@ impl Build {
+ "mipsel-unknown-linux-gnu" => "linux-mips32",
+ "mipsel-unknown-linux-musl" => "linux-mips32",
+ "powerpc-unknown-linux-gnu" => "linux-ppc",
++ "powerpc-unknown-netbsd" => "BSD-generic32",
+ "powerpc64-unknown-freebsd" => "BSD-generic64",
+ "powerpc64-unknown-linux-gnu" => "linux-ppc64",
+ "powerpc64le-unknown-linux-gnu" => "linux-ppc64le",
+ "riscv64gc-unknown-linux-gnu" => "linux-generic64",
+ "s390x-unknown-linux-gnu" => "linux64-s390x",
++ "sparc64-unknown-netbsd" => "BSD-generic64",
+ "x86_64-apple-darwin" => "darwin64-x86_64-cc",
+ "x86_64-linux-android" => "linux-x86_64",
+ "x86_64-pc-windows-gnu" => "mingw64",
Home |
Main Index |
Thread Index |
Old Index