pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/rust
Module Name: pkgsrc
Committed By: he
Date: Wed Oct 2 12:51:43 UTC 2019
Modified Files:
pkgsrc/lang/rust: Makefile distinfo
pkgsrc/lang/rust/patches:
patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake
patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp
Added Files:
pkgsrc/lang/rust/patches: patch-src_vendor_rand-0.6.1_src_rngs_os.rs
patch-vendor_rand__os_src_netbsd.rs
Removed Files:
pkgsrc/lang/rust/patches:
patch-src_llvm-project_llvm_lib_Support_Unix_Signals.inc
patch-vendor_rand_src_rngs_os.rs
Log Message:
Update rust to version 1.38.0.
Pkgsrc changes:
* Adapt to the move of the implementation of random numbers.
* Remove patch which is no longer relevant (Signals.inc)
* Cross-build currently fails due to the still unresolved
https://github.com/rust-lang/rust/issues/62558, so bootstrap
kits for 1.38.0 have to be built natively, and will follow shortly.
* Bump bootstrap requirements to 1.37.0 except for armv7-unknown-netbsd-eabihf
which I've neither managed to cross-build nor build natively.
Upstream changes:
Version 1.38.0 (2019-09-26)
==========================
Language
--------
- [The `#[global_allocator]` attribute can now be used in submodules.][62735]
- [The `#[deprecated]` attribute can now be used on macros.][62042]
Compiler
--------
- [Added pipelined compilation support to `rustc`.][62766] This will
improve compilation times in some cases. For further information please refer
to the [_"Evaluating pipelined rustc compilation"_][pipeline-internals]
thread.
- [Added tier 3\* support for the `aarch64-uwp-windows-msvc`,
`i686-uwp-windows-gnu`, `i686-uwp-windows-msvc`, `x86_64-uwp-windows-gnu`,
and `x86_64-uwp-windows-msvc` targets.][60260]
- [Added tier 3 support for the `armv7-unknown-linux-gnueabi` and
`armv7-unknown-linux-musleabi` targets.][63107]
- [Added tier 3 support for the `hexagon-unknown-linux-musl` target.][62814]
- [Added tier 3 support for the `riscv32i-unknown-none-elf` target.][62784]
\* Refer to Rust's [platform support page][forge-platform-support] for more
information on Rust's tiered platform support.
Libraries
---------
- [`ascii::EscapeDefault` now implements `Clone` and `Display`.][63421]
- [Derive macros for prelude traits (e.g. `Clone`, `Debug`, `Hash`) are now
available at the same path as the trait.][63056] (e.g. The `Clone` derive
macro is available at `std::clone::Clone`). This also makes all built-in
macros available in `std`/`core` root. e.g. `std::include_bytes!`.
- [`str::Chars` now implements `Debug`.][63000]
- [`slice::{concat, connect, join}` now accepts `&[T]` in addition to
`&T`.][62528]
- [`*const T` and `*mut T` now implement `marker::Unpin`.][62583]
- [`Arc<[T]>` and `Rc<[T]>` now implement `FromIterator<T>`.][61953]
- [Added euclidean remainder and division operations (`div_euclid`,
`rem_euclid`) to all numeric primitives.][61884] Additionally `checked`,
`overflowing`, and `wrapping` versions are available for all
integer primitives.
- [`thread::AccessError` now implements `Clone`, `Copy`, `Eq`, `Error`, and
`PartialEq`.][61491]
- [`iter::{StepBy, Peekable, Take}` now implement `DoubleEndedIterator`.][61457]
Stabilized APIs
---------------
- [`<*const T>::cast`]
- [`<*mut T>::cast`]
- [`Duration::as_secs_f32`]
- [`Duration::as_secs_f64`]
- [`Duration::div_duration_f32`]
- [`Duration::div_duration_f64`]
- [`Duration::div_f32`]
- [`Duration::div_f64`]
- [`Duration::from_secs_f32`]
- [`Duration::from_secs_f64`]
- [`Duration::mul_f32`]
- [`Duration::mul_f64`]
- [`any::type_name`]
Cargo
-----
- [Added pipelined compilation support to `cargo`.][cargo/7143]
- [You can now pass the `--features` option multiple times to enable
multiple features.][cargo/7084]
Misc
----
- [`rustc` will now warn about some incorrect uses of
`mem::{uninitialized, zeroed}` that are known to cause undefined
behaviour.][63346]
Compatibility Notes
-------------------
- Unfortunately the [`x86_64-unknown-uefi` platform can not be built][62785]
with rustc 1.39.0.
- The [`armv7-unknown-linux-gnueabihf` platform is also known to have
issues][62896] for certain crates such as libc.
[60260]: https://github.com/rust-lang/rust/pull/60260/
[61457]: https://github.com/rust-lang/rust/pull/61457/
[61491]: https://github.com/rust-lang/rust/pull/61491/
[61884]: https://github.com/rust-lang/rust/pull/61884/
[61953]: https://github.com/rust-lang/rust/pull/61953/
[62042]: https://github.com/rust-lang/rust/pull/62042/
[62528]: https://github.com/rust-lang/rust/pull/62528/
[62583]: https://github.com/rust-lang/rust/pull/62583/
[62735]: https://github.com/rust-lang/rust/pull/62735/
[62766]: https://github.com/rust-lang/rust/pull/62766/
[62784]: https://github.com/rust-lang/rust/pull/62784/
[62785]: https://github.com/rust-lang/rust/issues/62785/
[62814]: https://github.com/rust-lang/rust/pull/62814/
[62896]: https://github.com/rust-lang/rust/issues/62896/
[63000]: https://github.com/rust-lang/rust/pull/63000/
[63056]: https://github.com/rust-lang/rust/pull/63056/
[63107]: https://github.com/rust-lang/rust/pull/63107/
[63346]: https://github.com/rust-lang/rust/pull/63346/
[63421]: https://github.com/rust-lang/rust/pull/63421/
[cargo/7084]: https://github.com/rust-lang/cargo/pull/7084/
[cargo/7143]: https://github.com/rust-lang/cargo/pull/7143/
[`<*const T>::cast`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.cast
[`<*mut T>::cast`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.cast
[`Duration::as_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f32
[`Duration::as_secs_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f64
[`Duration::div_duration_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_duration_f32
[`Duration::div_duration_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_duration_f64
[`Duration::div_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f32
[`Duration::div_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f64
[`Duration::from_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f32
[`Duration::from_secs_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f64
[`Duration::mul_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f32
[`Duration::mul_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f64
[`any::type_name`]: https://doc.rust-lang.org/std/any/fn.type_name.html
[forge-platform-support]: https://forge.rust-lang.org/platform-support.html
[pipeline-internals]: https://internals.rust-lang.org/t/evaluating-pipelined-rustc-compilation/10199
To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 pkgsrc/lang/rust/Makefile
cvs rdiff -u -r1.88 -r1.89 pkgsrc/lang/rust/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake \
pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp
cvs rdiff -u -r1.1 -r0 \
pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_lib_Support_Unix_Signals.inc
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/rust/patches/patch-src_vendor_rand-0.6.1_src_rngs_os.rs \
pkgsrc/lang/rust/patches/patch-vendor_rand__os_src_netbsd.rs
cvs rdiff -u -r1.2 -r0 \
pkgsrc/lang/rust/patches/patch-vendor_rand_src_rngs_os.rs
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.116 pkgsrc/lang/rust/Makefile:1.117
--- pkgsrc/lang/rust/Makefile:1.116 Wed Sep 18 07:25:00 2019
+++ pkgsrc/lang/rust/Makefile Wed Oct 2 12:51:43 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.116 2019/09/18 07:25:00 adam Exp $
+# $NetBSD: Makefile,v 1.117 2019/10/02 12:51:43 he Exp $
-DISTNAME= rustc-1.37.0-src
+DISTNAME= rustc-1.38.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
CATEGORIES= lang
MASTER_SITES= http://static.rust-lang.org/dist/
@@ -23,6 +23,7 @@ CHECK_PORTABILITY_SKIP+=vendor/openssl-s
HAS_CONFIGURE= yes
PYTHON_FOR_BUILD_ONLY= yes
+PYTHON_VERSIONS_ACCEPTED=27
CONFIG_SHELL= ${PYTHONBIN}
CONFIGURE_SCRIPT= src/bootstrap/configure.py
CONFIGURE_ARGS+= --prefix=${PREFIX}
@@ -42,8 +43,8 @@ CONFIGURE_ARGS+= --disable-ninja
#CONFIGURE_ARGS+= --jemalloc-root=${BUILDLINK_PREFIX.jemalloc}/lib
# Use "dist" build target for cross compile of bootstrap
-#BUILD_TARGET= dist
-BUILD_TARGET= build
+BUILD_TARGET= dist
+#BUILD_TARGET= build
# The gcc-wrap / c++-wrap script takes CROSS_ROOT environment variable
# to do a cross-build. The wrapper script assumes dest/ and tools/
@@ -91,18 +92,6 @@ BUILD_TARGET= build
# the bootstrap
PKGSRC_MAKE_ENV+= LD_LIBRARY_PATH=${RUST_BOOTSTRAP_PATH:Q}/lib
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc)
-# Bootstrapping on NetBSD/powerpc requires no debug-info from rustc
-# (both for amd64->powerpc built and powerpc->powerpc built bootstrap bits)
-CONFIGURE_ARGS+= --disable-debug
-CONFIGURE_ARGS+= --disable-debuginfo-tests
-CONFIGURE_ARGS+= --disable-debug-assertions
-CONFIGURE_ARGS+= --disable-debuginfo
-CONFIGURE_ARGS+= --disable-debuginfo-lines
-CONFIGURE_ARGS+= --disable-debuginfo-only-std
-CONFIGURE_ARGS+= --disable-debuginfo-tools
-.endif
-
# This should allow us to perform "offline" builds (so cargo doesn't fetch
# dependencies during the build stage) but this isn't hooked up yet.
CONFIGURE_ARGS+= --enable-vendor
@@ -124,6 +113,27 @@ CHECK_PORTABILITY_SKIP+= src/vendor/open
.include "../../mk/bsd.prefs.mk"
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) || \
+ !empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf)
+# Bootstrapping on NetBSD/powerpc requires no debug-info from rustc
+# (both for amd64->powerpc built and powerpc->powerpc built bootstrap bits)
+CONFIGURE_ARGS+= --disable-debug
+CONFIGURE_ARGS+= --disable-debuginfo-tests
+CONFIGURE_ARGS+= --disable-debug-assertions
+CONFIGURE_ARGS+= --disable-debuginfo
+CONFIGURE_ARGS+= --disable-debuginfo-lines
+CONFIGURE_ARGS+= --disable-debuginfo-only-std
+CONFIGURE_ARGS+= --disable-debuginfo-tools
+.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)
+CONFIGURE_ARGS+= --set llvm.targets="ARM;X86"
+.endif
+
+
#
# Under NetBSD, do not use DT_RUNPATH
#
@@ -137,10 +147,10 @@ BUILDLINK_TRANSFORM.NetBSD+= rm:-Wl,--en
# own bootstrap. See the stage0-bootstrap below for more details.
#
DISTFILES:= ${DEFAULT_DISTFILES}
-RUST_STAGE0_VER= 1.36.0
+RUST_STAGE0_VER= 1.37.0
#
.if !empty(MACHINE_PLATFORM:MDarwin-*-i386) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.36.0
+RUST_STAGE0_VER= 1.37.0
RUST_ARCH:= i686-apple-darwin
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -148,7 +158,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.36.0
+RUST_STAGE0_VER= 1.37.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
@@ -156,7 +166,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.36.0
+RUST_STAGE0_VER= 1.37.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
@@ -164,7 +174,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.36.0
+RUST_STAGE0_VER= 1.37.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
@@ -172,7 +182,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MSunOS-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.36.0
+RUST_STAGE0_VER= 1.37.0
RUST_ARCH:= x86_64-sun-solaris
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
SITES.${RUST_STAGE0}= https://us-east.manta.joyent.com/pkgsrc/public/pkg-bootstraps/
@@ -181,7 +191,7 @@ RUST_BOOTSTRAP_PATH?= ${WRKDIR}/rust-${R
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MFreeBSD-*-i386) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.36.0
+RUST_STAGE0_VER= 1.37.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
@@ -189,7 +199,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0}
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MFreeBSD-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.36.0
+RUST_STAGE0_VER= 1.37.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
@@ -294,9 +304,12 @@ post-extract:
${CP} ${WRKSRC}/vendor/rand/.cargo-checksum.json \
${WRKSRC}/vendor/rand/.cargo-checksum.json.orig
${SED} -e 's/1e732c2e3b4bd1561f11e0979bf9d20669a96eae7afe0deff9dfbb980ee47bf1/bc03f2345d7cfa7000f9da817120b6afa073359789c21a9a790ebd8676c50cca/'
${WRKSRC}/vendor/rand/.cargo-checksum.json.orig > ${WRKSRC}/vendor/rand/.cargo-checksum.json
+ ${CP} ${WRKSRC}/vendor/rand-0.6.1/.cargo-checksum.json \
+ ${WRKSRC}/vendor/rand-0.6.1/.cargo-checksum.json.orig
+ ${SED} -e 's/1e732c2e3b4bd1561f11e0979bf9d20669a96eae7afe0deff9dfbb980ee47bf1/bc03f2345d7cfa7000f9da817120b6afa073359789c21a9a790ebd8676c50cca/'
${WRKSRC}/vendor/rand-0.6.1/.cargo-checksum.json.orig > ${WRKSRC}/vendor/rand-0.6.1/.cargo-checksum.json
${CP} ${WRKSRC}/vendor/libc/.cargo-checksum.json \
${WRKSRC}/vendor/libc/.cargo-checksum.json.orig
- ${SED} -e 's/0c6d148d84f2fa9feb86b464d30af9c52322553bf321ae4fe27184d274ccbe21/27dae4ec77f317c74e2c205658bcc8220c512f751802b754b07770c16e420dd1/'
${WRKSRC}/vendor/libc/.cargo-checksum.json.orig > ${WRKSRC}/vendor/libc/.cargo-checksum.json
+ ${SED} -e 's/b715246dd48adf4794e7b6dc2ec166c80561fcae42fa100c62ffca23b624d6fc/efeeb8c29ec9b5c69e643cb9dfdb5d4760b6fc8ca6dec4c641450be95da1b7c3/'
${WRKSRC}/vendor/libc/.cargo-checksum.json.orig > ${WRKSRC}/vendor/libc/.cargo-checksum.json
${CP} ${WRKSRC}/vendor/backtrace-sys/.cargo-checksum.json \
${WRKSRC}/vendor/backtrace-sys/.cargo-checksum.json.orig
${SED} -e 's/59763fc255248b54fba5d0761d61093a73d51fa4cb400b0df1b5f339b9c2f48a/ba66d192421fd536ceddb50616c4c4aea06f4e39450eb0bc2bbbaed0b1e684c1/'
${WRKSRC}/vendor/backtrace-sys/.cargo-checksum.json.orig > ${WRKSRC}/vendor/backtrace-sys/.cargo-checksum.json
Index: pkgsrc/lang/rust/distinfo
diff -u pkgsrc/lang/rust/distinfo:1.88 pkgsrc/lang/rust/distinfo:1.89
--- pkgsrc/lang/rust/distinfo:1.88 Thu Sep 19 17:37:29 2019
+++ pkgsrc/lang/rust/distinfo Wed Oct 2 12:51:43 2019
@@ -1,41 +1,25 @@
-$NetBSD: distinfo,v 1.88 2019/09/19 17:37:29 jperkin Exp $
+$NetBSD: distinfo,v 1.89 2019/10/02 12:51:43 he Exp $
SHA1 (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 91517fa95f954427c627cf63eb7c518abd068f3e
RMD160 (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 06a3d922b27aac2deb570301542897a131b47cd0
SHA512 (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 27f7fb0e4a4522b24f04c7f6b578c8717908978ab485c525adbc95716860a958f2c42d4148d81fd41ab0e593d3baae6a1ffc6767ed24879df7c2aa6d8bf14683
Size (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 243045630 bytes
-SHA1 (rust-1.36.0-i686-apple-darwin.tar.gz) = 7e45ab4c622b711dd50c8a30721bc4791c86da15
-RMD160 (rust-1.36.0-i686-apple-darwin.tar.gz) = e983ae2e9c98fd58f900ec08c0357422613476e6
-SHA512 (rust-1.36.0-i686-apple-darwin.tar.gz) = bd79c5be2ce027a9bcd4870921b8b505a432d1e47f6b48afed0023f35eff2abb1b569741428f1a5b9d1154a3da6d72b8349b03a73a82a1b667fc1f6754da3681
-Size (rust-1.36.0-i686-apple-darwin.tar.gz) = 257426824 bytes
-SHA1 (rust-1.36.0-i686-unknown-freebsd.tar.gz) = 884e4d06466a402135a0c1666c7c48fa0ff09fd6
-RMD160 (rust-1.36.0-i686-unknown-freebsd.tar.gz) = db96efb53f9caa8e4136ded5f3140c8f5298fb20
-SHA512 (rust-1.36.0-i686-unknown-freebsd.tar.gz) = 03ef8c62efc78ed90ed4437649ff6446771b0aaa5b0d03c596e201360fe8b058f5810053185152466ca92d0bf4ab7c8bea72fd0300e72919ca436c96fb79dd54
-Size (rust-1.36.0-i686-unknown-freebsd.tar.gz) = 209984253 bytes
-SHA1 (rust-1.36.0-i686-unknown-linux-gnu.tar.gz) = 28a71820886d542d565517be6ca4b3904022db6a
-RMD160 (rust-1.36.0-i686-unknown-linux-gnu.tar.gz) = 687d49e31518b6f20f4f18913f94dddd9fb5b297
-SHA512 (rust-1.36.0-i686-unknown-linux-gnu.tar.gz) = eb3b712f07e1e0c61d13a99dce6b5bed250900f4b8743bdb2dcc59d795f2dbd86ae1bd7e63f1da5a0900c7f53540636359954c95c947bdc979fc7786f154b98d
-Size (rust-1.36.0-i686-unknown-linux-gnu.tar.gz) = 294145062 bytes
-SHA1 (rust-1.36.0-x86_64-apple-darwin.tar.gz) = f20f37bf651d47ded211911213871acd2bfb97c3
-RMD160 (rust-1.36.0-x86_64-apple-darwin.tar.gz) = f964a5832757515d394223d47cf6d3cff8a8e6d2
-SHA512 (rust-1.36.0-x86_64-apple-darwin.tar.gz) = 8a59fc2b155e39d19fc2178b3247f0e6e5d9a5ced3384963e8b28b5cfcf9ca5c3251100c0553adbe1e4cb4eaae8214adb568a07e365d954e36d994784250677e
-Size (rust-1.36.0-x86_64-apple-darwin.tar.gz) = 262444429 bytes
-SHA1 (rust-1.36.0-x86_64-sun-solaris.tar.gz) = 8893f16460ed6d7cbe4684e8aec801bdd47a0fe9
-RMD160 (rust-1.36.0-x86_64-sun-solaris.tar.gz) = a4988dd09829075821756e683fdbcb3286457a20
-SHA512 (rust-1.36.0-x86_64-sun-solaris.tar.gz) = 08f3d0c87f24469734506ccb1a99b3860550b44cf91b51fe1c3510e2724d16efad75975860359440c0d6629c8526d61e287b685ffac6f1e32fae0a2e9641d396
-Size (rust-1.36.0-x86_64-sun-solaris.tar.gz) = 209407727 bytes
-SHA1 (rust-1.36.0-x86_64-unknown-freebsd.tar.gz) = d095c5ec1d17ecd67f8b4ce1e69d315847c67fd3
-RMD160 (rust-1.36.0-x86_64-unknown-freebsd.tar.gz) = 526c1c5c77f7a0829d705be97b1d4f503fdf054d
-SHA512 (rust-1.36.0-x86_64-unknown-freebsd.tar.gz) = 32de40680d34056132fd18c6c274656fe07a3d371293db53f8cd12094ccfa289d6d8d2983c446d155af7a9a1ce883759a41962e30f7de180570f965415c7eb01
-Size (rust-1.36.0-x86_64-unknown-freebsd.tar.gz) = 208204889 bytes
-SHA1 (rust-1.36.0-x86_64-unknown-linux-gnu.tar.gz) = 4172af418f0c3dd4372d3ef52c25cd8f9cd78c76
-RMD160 (rust-1.36.0-x86_64-unknown-linux-gnu.tar.gz) = 0d9e73194da6f40ff481dff4e95a560da317655e
-SHA512 (rust-1.36.0-x86_64-unknown-linux-gnu.tar.gz) = fe078197d2e87fa1cd3e5c65e4a91afe1e899ecb9e25f76687f8daed1b5847e62e80304106b33fb3f85229cf40aa5501618e439e15882c5dfb3850afd99ee873
-Size (rust-1.36.0-x86_64-unknown-linux-gnu.tar.gz) = 276348670 bytes
SHA1 (rust-1.37.0-aarch64-unknown-netbsd.tar.gz) = e37bd4f1ea481382a1b68bfae16ad626509a636e
RMD160 (rust-1.37.0-aarch64-unknown-netbsd.tar.gz) = a125f7b3924899ff70632bb347ff3d324354aabd
SHA512 (rust-1.37.0-aarch64-unknown-netbsd.tar.gz) = 8fc80e6c6a9068d191ce9db34abf4b40a7a9fb570672c5bee47b379a6e554ccb24c6ec9b40d7eabefee1e5d0cdae85edd0cde3ada1d350c1a51d31a5c3d83021
Size (rust-1.37.0-aarch64-unknown-netbsd.tar.gz) = 172961074 bytes
+SHA1 (rust-1.37.0-i686-apple-darwin.tar.gz) = 5af3055bfe24ec7d4d9040a2f0af6f60c0403ffe
+RMD160 (rust-1.37.0-i686-apple-darwin.tar.gz) = bcf93023bad85ef1f16efd337685d4fe907e9e41
+SHA512 (rust-1.37.0-i686-apple-darwin.tar.gz) = b63b924b54618f1aa81556a7a7a6f43a2cef7425ead01d2d43d11a173f27f48a3a45b581899010efc54669598d79282e7be9d2db9b78a4fa88ed056150820546
+Size (rust-1.37.0-i686-apple-darwin.tar.gz) = 253733407 bytes
+SHA1 (rust-1.37.0-i686-unknown-freebsd.tar.gz) = 9e6ef28d50ffa852428455e393a0026b2ca0cd6e
+RMD160 (rust-1.37.0-i686-unknown-freebsd.tar.gz) = 372349d24b197295c442bd4f13505fbe17783e04
+SHA512 (rust-1.37.0-i686-unknown-freebsd.tar.gz) = 9348f48654b1d7dc3eea880e1282ac1f9383ce1074921a9c0cbd5b6b35d5cf5d589d21b00f59c270926933cd98d91a3cbbde14e6effa02ee07c9bc6c8cff3d96
+Size (rust-1.37.0-i686-unknown-freebsd.tar.gz) = 182847408 bytes
+SHA1 (rust-1.37.0-i686-unknown-linux-gnu.tar.gz) = 5eced0b000f50e84bfcb5755e08cb254597087e8
+RMD160 (rust-1.37.0-i686-unknown-linux-gnu.tar.gz) = 3da67587ea18c46a321cbf82b2f924eb2b0deb5e
+SHA512 (rust-1.37.0-i686-unknown-linux-gnu.tar.gz) = e4db8a47dd482ac4d0476a285d2398d9f63518e1504bb56cb00eb247ae9c8199950b4a929b0d0d0a43290380514cf66f2ead5307a31c15cbabee41936cb3d41e
+Size (rust-1.37.0-i686-unknown-linux-gnu.tar.gz) = 285246301 bytes
SHA1 (rust-1.37.0-i686-unknown-netbsd.tar.gz) = 915493342e8e66c8a763d2756e0b6df0cfd3368e
RMD160 (rust-1.37.0-i686-unknown-netbsd.tar.gz) = b99df44472400b9cf3ffd1616c681a951246ca63
SHA512 (rust-1.37.0-i686-unknown-netbsd.tar.gz) = 7bf6a01deb348b44f08ad61ee8edad14fe9255eb25a176708e72450635a7e47828ae67c349828c6141726aad6d5f43e67056a28ea33c49e0d6a57ed86e9c87fb
@@ -48,6 +32,22 @@ SHA1 (rust-1.37.0-sparc64-unknown-netbsd
RMD160 (rust-1.37.0-sparc64-unknown-netbsd.tar.gz) = 88a52aecc08a1f19f55cd3020d25c7ac25abca66
SHA512 (rust-1.37.0-sparc64-unknown-netbsd.tar.gz) = e7b257d92edef7ef5c5c33b5c690cf4b41517bb7e3b39d2907ee31668c3a9d81a9adaaeff97e8c485e40fdd36ff49994cfdac858801c8a4611150b567651fbf0
Size (rust-1.37.0-sparc64-unknown-netbsd.tar.gz) = 189129050 bytes
+SHA1 (rust-1.37.0-x86_64-apple-darwin.tar.gz) = f3a69fb26eb4e7e5880f9a4217c8107cad3ffcff
+RMD160 (rust-1.37.0-x86_64-apple-darwin.tar.gz) = 91c94273dfdb277b38c6519f236c0c07e3b4099e
+SHA512 (rust-1.37.0-x86_64-apple-darwin.tar.gz) = 1d5fd005f86ecfc50518a142ceab0bac399c14efcbfae375d5ed13d6f1574f31af326e982ce5cc51b0cf9b4cab1cab749f290c07255ff0535a752ffa615a0c24
+Size (rust-1.37.0-x86_64-apple-darwin.tar.gz) = 258524721 bytes
+SHA1 (rust-1.37.0-x86_64-sun-solaris.tar.gz) = d6b9e6fe8d1d9654a3a24f70a1a92ea2a4bef9f4
+RMD160 (rust-1.37.0-x86_64-sun-solaris.tar.gz) = 53bb5fef7e0f9a26c5c09e07a3423ac02cf5a902
+SHA512 (rust-1.37.0-x86_64-sun-solaris.tar.gz) = 3f6aaf073fe7530f5f9ab5432eee2b492bc5b7294025b47e9d7e6b458cf51c92a42ee126591c21bb002176b3946fe26c939a10eeda1bc2251b1705f56cc928a9
+Size (rust-1.37.0-x86_64-sun-solaris.tar.gz) = 203767480 bytes
+SHA1 (rust-1.37.0-x86_64-unknown-freebsd.tar.gz) = 4b4aa024b9f1f73197f4c11920bc913e9514602f
+RMD160 (rust-1.37.0-x86_64-unknown-freebsd.tar.gz) = b3d56f372db3ba07407d188eb34d033149719ee1
+SHA512 (rust-1.37.0-x86_64-unknown-freebsd.tar.gz) = d924daba3612bc100ad9d38a0b2e8d1d80433c0d0023d02ce7f6024469efb8bc51a2e763b20f6850b3530186edf3d27da47bd8bf217001de258132a1ec715c32
+Size (rust-1.37.0-x86_64-unknown-freebsd.tar.gz) = 181994897 bytes
+SHA1 (rust-1.37.0-x86_64-unknown-linux-gnu.tar.gz) = 4ecc9ad7a6af77065dc3bef1fab3aea07caaa6e9
+RMD160 (rust-1.37.0-x86_64-unknown-linux-gnu.tar.gz) = 7b623d28eec244521990261bdc7fe04a109943f0
+SHA512 (rust-1.37.0-x86_64-unknown-linux-gnu.tar.gz) = 19685a1a41efb0f0db114c7261dc26a643fd9c74954f56be1b625cbe8552b5f3f925e399f8e8b69debc4bda1b4cf03477069b1d30729141460bd85ffdbc0357f
+Size (rust-1.37.0-x86_64-unknown-linux-gnu.tar.gz) = 269160550 bytes
SHA1 (rust-1.37.0-x86_64-unknown-netbsd.tar.gz) = 3500508c4e09efd03095f775c752d80244df8291
RMD160 (rust-1.37.0-x86_64-unknown-netbsd.tar.gz) = 67afdc33f3e9bd5469051e546223c714d3dc8121
SHA512 (rust-1.37.0-x86_64-unknown-netbsd.tar.gz) = fb6fbe02c2f0f17fd8c656fcc8ad216db9b5a426a94d15e53b304cb7ca6d5225cb0265ab675cb71ef0cd8454b0b2513b75baf2c92a9fc35662d04a873c7be7ca
@@ -56,34 +56,22 @@ SHA1 (rust-std-1.35.0-armv7-unknown-netb
RMD160 (rust-std-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 34753f2c4efe6bbec7044a1d417ef9f4586b50a0
SHA512 (rust-std-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = ea834d454c8d23101d654de3611f07782a676a08f581c501152da13c617be1b08d09a3b1c0b4af34ea79d11b5c15b5a1ece7da8395f4def950b2add245e38f2e
Size (rust-std-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 86878840 bytes
-SHA1 (rust-std-1.36.0-i686-apple-darwin.tar.gz) = 3f4880eb263da964c4ca121cf48a62460b8c5cd6
-RMD160 (rust-std-1.36.0-i686-apple-darwin.tar.gz) = 55661d31fdcc60ffc35595a156dd3c88d440759f
-SHA512 (rust-std-1.36.0-i686-apple-darwin.tar.gz) = 503d19d87db0fb2b8067f7b9471bd0974ffb6a287c8d2aa5be2749e22405edce88ffa38515743319bc9e7d968a6008a7859b3a507862fbb260f15c8400b588c0
-Size (rust-std-1.36.0-i686-apple-darwin.tar.gz) = 71918357 bytes
-SHA1 (rust-std-1.36.0-i686-unknown-freebsd.tar.gz) = 4a892339a61914fa31e0c25e6a6891625ef99e06
-RMD160 (rust-std-1.36.0-i686-unknown-freebsd.tar.gz) = c5975983e113601e6b140b48d50a5bbe356075a5
-SHA512 (rust-std-1.36.0-i686-unknown-freebsd.tar.gz) = cb149a64cff3fb55b7248899600cec4140b5801d6f76d92a9546d7bdf4539497d463ffb937a7000d751c14df8152714ceaa803d354304a194e00acacda1c2059
-Size (rust-std-1.36.0-i686-unknown-freebsd.tar.gz) = 87744414 bytes
-SHA1 (rust-std-1.36.0-i686-unknown-linux-gnu.tar.gz) = 429fe635694ffd0abfcb598c1d90215e55a68e7f
-RMD160 (rust-std-1.36.0-i686-unknown-linux-gnu.tar.gz) = 64712571d133c7372e9b9eed80000c8758f6c5a5
-SHA512 (rust-std-1.36.0-i686-unknown-linux-gnu.tar.gz) = e264a75d1205ffafe8e49da06840ff6e98e37bd8cc2ffbc198b8fe6e7610a6615098e1cc41d41deb61813e50b37150e140ac6aa93d2b941820d20f78240a3ff8
-Size (rust-std-1.36.0-i686-unknown-linux-gnu.tar.gz) = 81313796 bytes
-SHA1 (rust-std-1.36.0-x86_64-apple-darwin.tar.gz) = c02c6484bc4abf3f0c34744e49015d666f33c9c2
-RMD160 (rust-std-1.36.0-x86_64-apple-darwin.tar.gz) = 8f1eaedf034ef8045f1e8109de7d27991dbeb98b
-SHA512 (rust-std-1.36.0-x86_64-apple-darwin.tar.gz) = 17e57941eb45cf4b2ecf037a0d497fedc41396170a9d9fb4ded2f61ea312746051b3fbb1733ad7d6fc1f48fe990352fccabdc080472484c8b3dae6369d3e7586
-Size (rust-std-1.36.0-x86_64-apple-darwin.tar.gz) = 73150637 bytes
-SHA1 (rust-std-1.36.0-x86_64-unknown-freebsd.tar.gz) = 5439ae966cde86e9c22082dc61f64a66a88f567e
-RMD160 (rust-std-1.36.0-x86_64-unknown-freebsd.tar.gz) = 6eb505eca5baedaf8c4fcb00184d15903841e2a4
-SHA512 (rust-std-1.36.0-x86_64-unknown-freebsd.tar.gz) = fa8918f01fc3d6287c9f00841e735c44bb8261bf7f6b4f896195cc6f756a95dbb9458e5c44b015551cca8525f64ee998f4a8dbb9b96b8c6e1d1ad223b3c22e3f
-Size (rust-std-1.36.0-x86_64-unknown-freebsd.tar.gz) = 87112148 bytes
-SHA1 (rust-std-1.36.0-x86_64-unknown-linux-gnu.tar.gz) = 64efb24ca0e60e698de0d761f284db9430161cfb
-RMD160 (rust-std-1.36.0-x86_64-unknown-linux-gnu.tar.gz) = d6c5d55e3fd6025b365339019c04074f6cf91d03
-SHA512 (rust-std-1.36.0-x86_64-unknown-linux-gnu.tar.gz) = 448bb6e8d139f3a0a8110ab959ee5abe824895e3863ab3d5e78d234d374c35541e5bebf0b4d9665a02dfe3c43864c731fd2532a462e70e67f74a0d048798e1b6
-Size (rust-std-1.36.0-x86_64-unknown-linux-gnu.tar.gz) = 82504317 bytes
SHA1 (rust-std-1.37.0-aarch64-unknown-netbsd.tar.gz) = 25ea467d55d612bdf131ca25c7abbf569fc9fad1
RMD160 (rust-std-1.37.0-aarch64-unknown-netbsd.tar.gz) = b2b10a406bb260d65a23ac4c0ed25d764eb4a303
SHA512 (rust-std-1.37.0-aarch64-unknown-netbsd.tar.gz) = 89129a0c9234fe93833b34414d2c382e49bac649d4393fb8ad43e99f28becdd0828bb89158f730ada0d1d1fa7b6210daff1ff2b48d96fa19c0d6bca4bea79d0d
Size (rust-std-1.37.0-aarch64-unknown-netbsd.tar.gz) = 69207620 bytes
+SHA1 (rust-std-1.37.0-i686-apple-darwin.tar.gz) = 45c230265cfa54e31775b1935bb95bc71c05a12c
+RMD160 (rust-std-1.37.0-i686-apple-darwin.tar.gz) = 66d936969ff034ff4325ce4d00c9e0e5ae43a1ca
+SHA512 (rust-std-1.37.0-i686-apple-darwin.tar.gz) = bc66ad6de904e98bcf770042acfbd2698f3119033dedb6ac64045ec21f7a9cae2bb8894ce3e115383f5d0b78242fb6999f79d33283c9859ad16f5740fe42e030
+Size (rust-std-1.37.0-i686-apple-darwin.tar.gz) = 72889656 bytes
+SHA1 (rust-std-1.37.0-i686-unknown-freebsd.tar.gz) = 63cc77d2ec0379e90cb2c2e90acc6f5671594c2a
+RMD160 (rust-std-1.37.0-i686-unknown-freebsd.tar.gz) = a210798d1672d984259a4982b2408a6738dddd29
+SHA512 (rust-std-1.37.0-i686-unknown-freebsd.tar.gz) = 005bb36fc4d0589fce945749b85c626c722bca4662cf28f9cde37fc328a360b4b98e2fb0f51ba84c6ca3d95d20ae0a79b8a742200262eedf66dcbb1e468656a4
+Size (rust-std-1.37.0-i686-unknown-freebsd.tar.gz) = 88558002 bytes
+SHA1 (rust-std-1.37.0-i686-unknown-linux-gnu.tar.gz) = 691986754ccb02b741e060c982c5e47bf0462682
+RMD160 (rust-std-1.37.0-i686-unknown-linux-gnu.tar.gz) = ad398f3ab5433dd6f87e57801ff8d85b67321015
+SHA512 (rust-std-1.37.0-i686-unknown-linux-gnu.tar.gz) = 3afc645e348baf93d6238d53b4de293678b6732a8d43ac335bb8dc57f24d3d19b463e6a5385a1582a59b905d499a7ce310aa1d5c12bea23cb33bb8966a170f2f
+Size (rust-std-1.37.0-i686-unknown-linux-gnu.tar.gz) = 81833878 bytes
SHA1 (rust-std-1.37.0-i686-unknown-netbsd.tar.gz) = 875658fd879e7c69c79abbdeeda50b24dc1eca08
RMD160 (rust-std-1.37.0-i686-unknown-netbsd.tar.gz) = a072230c173459e7619f6bee93f416b7d047f558
SHA512 (rust-std-1.37.0-i686-unknown-netbsd.tar.gz) = 67d5f9bee7dad4899be5badfbb4c42d75c3a28f43e50bd3147768afa637bb523570f7d09825766ecfca8bc5056a97d585b3f430f44ecbb1517fa1b1f0e3872db
@@ -96,14 +84,26 @@ SHA1 (rust-std-1.37.0-sparc64-unknown-ne
RMD160 (rust-std-1.37.0-sparc64-unknown-netbsd.tar.gz) = 9fe4b65bf4958e063b8aa64393a2108cad7bcefc
SHA512 (rust-std-1.37.0-sparc64-unknown-netbsd.tar.gz) = b81af6a8214f482b86a5b83b9c3ad8806f434a534d2b9e445a4a30283eab0404328eadb48bbf873bb6c4d33a8e76254fdfc751d021860615ffb2803e51ac91cd
Size (rust-std-1.37.0-sparc64-unknown-netbsd.tar.gz) = 74968259 bytes
+SHA1 (rust-std-1.37.0-x86_64-apple-darwin.tar.gz) = 12a0f219bf9638ae495ecc9085642dc3cab1af58
+RMD160 (rust-std-1.37.0-x86_64-apple-darwin.tar.gz) = bacc38ce62b7cc64934fbc2007f5ba24593b6b69
+SHA512 (rust-std-1.37.0-x86_64-apple-darwin.tar.gz) = dace3dd91e79616d6cf3b60df2ffe4d347148bbb54306b031af63d86a154c400418944c6017ff6f65d38ef396d89b30d75110366a8286a763315ac7ebbbfef87
+Size (rust-std-1.37.0-x86_64-apple-darwin.tar.gz) = 74102250 bytes
+SHA1 (rust-std-1.37.0-x86_64-unknown-freebsd.tar.gz) = 88d898e668371e46b473bdff37e4fc459f5b53fd
+RMD160 (rust-std-1.37.0-x86_64-unknown-freebsd.tar.gz) = 7125081be3224bab3b7c63a969542fcc590eef01
+SHA512 (rust-std-1.37.0-x86_64-unknown-freebsd.tar.gz) = 46cf064d68bef3e1ba5b238c1f53decf9c781be7d1537f48dd5136fa3e5613eac4e188c792129d5aa75d7b426ff86ebd255d59935e887ee4f707289b4a7473ed
+Size (rust-std-1.37.0-x86_64-unknown-freebsd.tar.gz) = 87956779 bytes
+SHA1 (rust-std-1.37.0-x86_64-unknown-linux-gnu.tar.gz) = 27096ba109589e7dc7ccfb7918666f9f63bf9a10
+RMD160 (rust-std-1.37.0-x86_64-unknown-linux-gnu.tar.gz) = d4da0a95c640bdb4c2ae9ff97d66246b221c3e39
+SHA512 (rust-std-1.37.0-x86_64-unknown-linux-gnu.tar.gz) = 1b4f4167c99be75510608d9b17bad0f18b156a6c831c037c175f7ea47e040e63219d4fd3305e524d593bde8a3de69321991ede17cace421264cc4eb6574a02ee
+Size (rust-std-1.37.0-x86_64-unknown-linux-gnu.tar.gz) = 83166788 bytes
SHA1 (rust-std-1.37.0-x86_64-unknown-netbsd.tar.gz) = 1faeee4d815362523e8c76e40d8c2604e59ab0e0
RMD160 (rust-std-1.37.0-x86_64-unknown-netbsd.tar.gz) = f946a0b49b0fe22472ceadaadc5f8997d8bd268b
SHA512 (rust-std-1.37.0-x86_64-unknown-netbsd.tar.gz) = fe77bdeb3afcd6b26e796ec03bcf10efcae9e2df833f3264b163bad109ccd1a88f71b298aa028303bc4dd17cf6c79145876a01e97292653c1e1d9eda6842dc01
Size (rust-std-1.37.0-x86_64-unknown-netbsd.tar.gz) = 87786274 bytes
-SHA1 (rustc-1.37.0-src.tar.gz) = 8613fc28896b2f0d6d8770ea52ce54804ca751df
-RMD160 (rustc-1.37.0-src.tar.gz) = 13355233d894bad13fd6b63277a72f81f9a25ff0
-SHA512 (rustc-1.37.0-src.tar.gz) = d75dd3b664f4467750b93786126051f8a1d33e24823951bbe2a56b2c1f6c829c35dcfb7dbce2f98c5de212d882ab8bccdd99bb57facdb4bc1870eb81de824d74
-Size (rustc-1.37.0-src.tar.gz) = 154114925 bytes
+SHA1 (rustc-1.38.0-src.tar.gz) = 6ad0f778882c73a689c88e1ecdaab8e7b9ceb27b
+RMD160 (rustc-1.38.0-src.tar.gz) = 95edfbd142e87fd72f4b5b3aacdcfb42df4bca9a
+SHA512 (rustc-1.38.0-src.tar.gz) = eef16fcbd234ffe76158dd971fcc10ca129816c47f84ff2f2fe424c42509c8661ab45458f968cd88bb8eb6bab028d5d86920a4dee1f673f48270e1f446ffa882
+Size (rustc-1.38.0-src.tar.gz) = 152008577 bytes
SHA1 (patch-src_bootstrap_bin_rustc.rs) = 5e6b0cb25401db4fef6e74f73764e69f3c09569c
SHA1 (patch-src_bootstrap_bootstrap.py) = 5b886b95857bf019c2e37cb380e6905cb444b756
SHA1 (patch-src_bootstrap_builder.rs) = 7e23348dc5555fdb3833a7f8734cfe687c6e533c
@@ -117,16 +117,16 @@ SHA1 (patch-src_libstd_build.rs) = 9cfa9
SHA1 (patch-src_libstd_sys_unix_thread.rs) = 2554f1a42afaa0ddce5053860f4dabecdf6c527a
SHA1 (patch-src_libunwind_build.rs) = c0a0aa9749705be07afe8eaaa0c7d70affa46566
SHA1 (patch-src_llvm-project_llvm_CMakeLists.txt) = d49503d19c30a64d571eb7fa79e7aad7038cd427
-SHA1 (patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake) = 19daf5f8a26bfaebca942b5cbe8521fb060fe8d9
+SHA1 (patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake) = c5e74d0e8deb555881ec94920a637b53b744c866
SHA1 (patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h) = 7588a46aaa277ef04b33ac6d904b9d1d81579f2a
SHA1 (patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h) = 977de4b2a9d37f7e7c782f2407c15591e032b6c6
-SHA1 (patch-src_llvm-project_llvm_lib_Support_Unix_Signals.inc) = 4639febcf009bde6256695060b4c8cce3b327082
-SHA1 (patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp) = 498395d1ae5b791b9e4710a856fdebe2fb87011e
+SHA1 (patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp) = 2675b93a1d636b297a3e1e84b915a15a3da67939
SHA1 (patch-src_tools_cargo_src_cargo_core_profiles.rs) = 3aac5d54a6fe96b9559552e67e497488142d4e80
SHA1 (patch-src_tools_cargo_tests_testsuite_build.rs) = 10e6c1253adac0262b000aec7636fa0d2ebb666c
SHA1 (patch-src_tools_rls_rls_src_cmd.rs) = fade3e60fecac5c4e4d4ee5bee82659b4eb385b7
SHA1 (patch-src_tools_rls_rls_src_server_io.rs) = 51af64526db55abcf6b4b3165df314a16cf62e34
SHA1 (patch-src_tools_rust-installer_install-template.sh) = f2ec6dced2be1fa23773d5827503ad07d0913dc2
+SHA1 (patch-src_vendor_rand-0.6.1_src_rngs_os.rs) = c068ae41fb69a524336efcef7df7a9d1326d04f1
SHA1 (patch-vendor_backtrace-sys_src_libbacktrace_configure) = 90e54f66edce65ebe23fbf2480deb193ca926733
SHA1 (patch-vendor_libc_src_unix_solarish_mod.rs) = 804ea03be546fef0d2bd37d7f8abb26d38a7892b
-SHA1 (patch-vendor_rand_src_rngs_os.rs) = ae78f9e8abfa5a223bceac5ac8bbe25453dc70c0
+SHA1 (patch-vendor_rand__os_src_netbsd.rs) = 049df63c904abd81cb92f33fa0882f5c81cae51a
Index: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake
diff -u pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake:1.1 pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake:1.2
--- pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake:1.1 Sun Apr 14 12:42:03 2019
+++ pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake Wed Oct 2 12:51:43 2019
@@ -1,20 +1,20 @@
-$NetBSD: patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake,v 1.1 2019/04/14 12:42:03 he Exp $
+$NetBSD: patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake,v 1.2 2019/10/02 12:51:43 he Exp $
"-z discard-unused" is only supported by Oracle Solaris ld.
On Darwin, use correct install-name for shared libraries.
--- src/llvm-project/llvm/cmake/modules/AddLLVM.cmake.orig 2018-08-01 16:32:37.000000000 +0000
+++ src/llvm-project/llvm/cmake/modules/AddLLVM.cmake
-@@ -219,8 +219,6 @@ function(add_link_opts target_name)
+@@ -223,8 +223,6 @@ function(add_link_opts target_name)
set_property(TARGET ${target_name} APPEND_STRING PROPERTY
LINK_FLAGS " -Wl,-dead_strip")
elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
- set_property(TARGET ${target_name} APPEND_STRING PROPERTY
- LINK_FLAGS " -Wl,-z -Wl,discard-unused=sections")
- elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
+ elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD AND
+ NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD|AIX")
# Object files are compiled with -ffunction-data-sections.
- # Versions of bfd ld < 2.23.1 have a bug in --gc-sections that breaks
-@@ -1602,7 +1600,7 @@ function(llvm_setup_rpath name)
+@@ -1727,7 +1725,7 @@ function(llvm_setup_rpath name)
endif()
if (APPLE)
Index: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp
diff -u pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp:1.1 pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp:1.2
--- pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp:1.1 Wed May 22 09:43:14 2019
+++ pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp Wed Oct 2 12:51:43 2019
@@ -1,15 +1,15 @@
-$NetBSD: patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp,v 1.1 2019/05/22 09:43:14 jperkin Exp $
+$NetBSD: patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp,v 1.2 2019/10/02 12:51:43 he Exp $
Avoid ambiguous function call.
--- src/llvm-project/llvm/utils/FileCheck/FileCheck.cpp.orig 2019-02-12 15:22:48.000000000 +0000
+++ src/llvm-project/llvm/utils/FileCheck/FileCheck.cpp
-@@ -403,7 +403,7 @@ static void DumpAnnotatedInput(raw_ostre
+@@ -406,7 +406,7 @@ static void DumpAnnotatedInput(raw_ostre
unsigned LineCount = InputFileText.count('\n');
if (InputFileEnd[-1] != '\n')
++LineCount;
-- unsigned LineNoWidth = log10(LineCount) + 1;
-+ unsigned LineNoWidth = log10((float)LineCount) + 1;
+- unsigned LineNoWidth = std::log10(LineCount) + 1;
++ unsigned LineNoWidth = std::log10((float)LineCount) + 1;
// +3 below adds spaces (1) to the left of the (right-aligned) line numbers
// on input lines and (2) to the right of the (left-aligned) labels on
// annotation lines so that input lines and annotation lines are more
Added files:
Index: pkgsrc/lang/rust/patches/patch-src_vendor_rand-0.6.1_src_rngs_os.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-src_vendor_rand-0.6.1_src_rngs_os.rs:1.1
--- /dev/null Wed Oct 2 12:51:43 2019
+++ pkgsrc/lang/rust/patches/patch-src_vendor_rand-0.6.1_src_rngs_os.rs Wed Oct 2 12:51:43 2019
@@ -0,0 +1,101 @@
+$NetBSD: patch-src_vendor_rand-0.6.1_src_rngs_os.rs,v 1.1 2019/10/02 12:51:43 he Exp $
+
+-Explicitly disable getrandom support on SunOS, the test fails.
+-https://github.com/rust-random/rand/issues/637
+
+The rand implementation for NetBSD drains a byte from /dev/random on every
+rustc invocation, with the intent to ensure /dev/urandom is seeded.
+This is inappropriate; seeding the rng should be handled by rc.d scripts only.
+The result is that rustc eventually blocks for very long times when generating
+temp file names, causing the lang/rust build to take days(!) in some cases.
+The fix is to delete the NetBSD specific implementation and instead use the
+FreeBSD implementation which relies on the kern.arandom sysctl instead of
+/dev/{u,}random.
+The bootstrap compiler of course has the same issue so I will raise a PR
+with upstream authors to address this.
+
+--- vendor/rand-0.6.1/src/rngs/os.rs.orig 2019-09-23 23:15:03.000000000 +0000
++++ vendor/rand-0.6.1/src/rngs/os.rs
+@@ -246,7 +246,7 @@ trait OsRngImpl where Self: Sized {
+ // All instances use a single internal file handle, to prevent possible
+ // exhaustion of file descriptors.
+ #[cfg(any(target_os = "linux", target_os = "android",
+- target_os = "netbsd", target_os = "dragonfly",
++ target_os = "dragonfly",
+ target_os = "solaris", target_os = "redox",
+ target_os = "haiku", target_os = "emscripten"))]
+ mod random_device {
+@@ -487,56 +487,6 @@ mod imp {
+ }
+ }
+
+-
+-#[cfg(target_os = "netbsd")]
+-mod imp {
+- use Error;
+- use super::random_device;
+- use super::OsRngImpl;
+-
+- use std::fs::File;
+- use std::io::Read;
+- use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering};
+-
+- #[derive(Clone, Debug)]
+- pub struct OsRng { initialized: bool }
+-
+- impl OsRngImpl for OsRng {
+- fn new() -> Result<OsRng, Error> {
+- random_device::open("/dev/urandom", &|p| File::open(p))?;
+- Ok(OsRng { initialized: false })
+- }
+-
+- fn fill_chunk(&mut self, dest: &mut [u8]) -> Result<(), Error> {
+- random_device::read(dest)
+- }
+-
+- // Read a single byte from `/dev/random` to determine if the OS RNG is
+- // already seeded. NetBSD always blocks if not yet ready.
+- fn test_initialized(&mut self, dest: &mut [u8], _blocking: bool)
+- -> Result<usize, Error>
+- {
+- static OS_RNG_INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT;
+- if !self.initialized {
+- self.initialized = OS_RNG_INITIALIZED.load(Ordering::Relaxed);
+- }
+- if self.initialized { return Ok(0); }
+-
+- info!("OsRng: testing random device /dev/random");
+- let mut file =
+- File::open("/dev/random").map_err(random_device::map_err)?;
+- file.read(&mut dest[..1]).map_err(random_device::map_err)?;
+-
+- OS_RNG_INITIALIZED.store(true, Ordering::Relaxed);
+- self.initialized = true;
+- Ok(1)
+- }
+-
+- fn method_str(&self) -> &'static str { "/dev/urandom" }
+- }
+-}
+-
+-
+ #[cfg(any(target_os = "dragonfly",
+ target_os = "haiku",
+ target_os = "emscripten"))]
+@@ -677,6 +627,7 @@ mod imp {
+ }
+
+ fn getrandom(buf: &mut [u8], blocking: bool) -> libc::c_long {
++ return -1;
+ extern "C" {
+ fn syscall(number: libc::c_long, ...) -> libc::c_long;
+ }
+@@ -824,7 +775,7 @@ mod imp {
+ }
+
+
+-#[cfg(target_os = "freebsd")]
++#[cfg(any(target_os = "freebsd", target_os = "netbsd"))]
+ mod imp {
+ extern crate libc;
+
Index: pkgsrc/lang/rust/patches/patch-vendor_rand__os_src_netbsd.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_rand__os_src_netbsd.rs:1.1
--- /dev/null Wed Oct 2 12:51:43 2019
+++ pkgsrc/lang/rust/patches/patch-vendor_rand__os_src_netbsd.rs Wed Oct 2 12:51:43 2019
@@ -0,0 +1,95 @@
+$NetBSD: patch-vendor_rand__os_src_netbsd.rs,v 1.1 2019/10/02 12:51:43 he Exp $
+
+Use the FreeBSD implementation on NetBSD instead of the
+one using /dev/urandom.
+
+The rand implementation for NetBSD drains a byte from /dev/random on every
+rustc invocation, with the intent to ensure /dev/urandom is seeded.
+This is inappropriate; seeding the rng should be handled by rc.d scripts only.
+The result is that rustc eventually blocks for very long times when generating
+temp file names, causing the lang/rust build to take days(!) in some cases.
+The fix is to delete the NetBSD specific implementation and instead use the
+FreeBSD implementation which relies on the kern.arandom sysctl instead of
+/dev/{u,}random.
+The bootstrap compiler of course has the same issue so I will raise a PR
+with upstream authors to address this.
+
+--- vendor/rand_os/src/netbsd.rs.orig 2019-09-28 20:13:53.155901674 +0000
++++ vendor/rand_os/src/netbsd.rs
+@@ -6,52 +6,40 @@
+ // option. This file may not be copied, modified, or distributed
+ // except according to those terms.
+
+-//! Implementation for NetBSD
++//! Implementation for FreeBSD
+
+-use rand_core::Error;
+-use super::random_device;
++extern crate libc;
++
++use rand_core::{Error, ErrorKind};
+ use super::OsRngImpl;
+
+-use std::fs::File;
+-use std::io::Read;
+-use std::sync::atomic::{AtomicBool, Ordering};
+-#[allow(deprecated)] // Required for compatibility with Rust < 1.24.
+-use std::sync::atomic::ATOMIC_BOOL_INIT;
++use std::ptr;
++use std::io;
+
+ #[derive(Clone, Debug)]
+-pub struct OsRng { initialized: bool }
++pub struct OsRng;
+
+ impl OsRngImpl for OsRng {
+- fn new() -> Result<OsRng, Error> {
+- random_device::open("/dev/urandom", &|p| File::open(p))?;
+- Ok(OsRng { initialized: false })
+- }
++ fn new() -> Result<OsRng, Error> { Ok(OsRng) }
+
+ fn fill_chunk(&mut self, dest: &mut [u8]) -> Result<(), Error> {
+- random_device::read(dest)
+- }
+-
+- // Read a single byte from `/dev/random` to determine if the OS RNG is
+- // already seeded. NetBSD always blocks if not yet ready.
+- fn test_initialized(&mut self, dest: &mut [u8], _blocking: bool)
+- -> Result<usize, Error>
+- {
+- #[allow(deprecated)]
+- static OS_RNG_INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT;
+- if !self.initialized {
+- self.initialized = OS_RNG_INITIALIZED.load(Ordering::Relaxed);
++ let mib = [libc::CTL_KERN, libc::KERN_ARND];
++ let mut len = dest.len();
++ let ret = unsafe {
++ libc::sysctl(mib.as_ptr(), mib.len() as libc::c_uint,
++ dest.as_mut_ptr() as *mut _, &mut len,
++ ptr::null(), 0)
++ };
++ if ret == -1 || len != dest.len() {
++ return Err(Error::with_cause(
++ ErrorKind::Unavailable,
++ "kern.arandom sysctl failed",
++ io::Error::last_os_error()));
+ }
+- if self.initialized { return Ok(0); }
+-
+- info!("OsRng: testing random device /dev/random");
+- let mut file =
+- File::open("/dev/random").map_err(random_device::map_err)?;
+- file.read(&mut dest[..1]).map_err(random_device::map_err)?;
+-
+- OS_RNG_INITIALIZED.store(true, Ordering::Relaxed);
+- self.initialized = true;
+- Ok(1)
++ Ok(())
+ }
+
+- fn method_str(&self) -> &'static str { "/dev/urandom" }
++ fn max_chunk_size(&self) -> usize { 256 }
++
++ fn method_str(&self) -> &'static str { "kern.arandom" }
+ }
Home |
Main Index |
Thread Index |
Old Index