pkgsrc-WIP-changes archive

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

rust: Update to 1.53.0.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Sun Jun 20 17:37:05 2021 +0200
Changeset:	63ea8ddab03159cd1533f7003c68e32eac56107e

Modified Files:
	rust/Makefile
	rust/distinfo
	rust/options.mk
	rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
	rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs
	rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs

Log Message:
rust: Update to 1.53.0.

Pkgsrc changes:
 * Bump bootstrap requirements to 1.52.1
 * Adjust patches, adapt to upstream changes, adjust cargo checksums
 * If using an external llvm, require >= 10.0

Upsteream changes:

Version 1.53.0 (2021-06-17)
============================

Language
-----------------------
- [You can now use unicode for identifiers.][83799] This allows
  multilingual identifiers but still doesn't allow glyphs that are
  not considered characters such as `#` (diamond) or `<U+1F980>`
  (crab). More specifically you can now use any identifier that
  matches the UAX #31 "Unicode Identifier and Pattern Syntax" standard. This
  is the same standard as languages like Python, however Rust uses NFC
  normalization which may be different from other languages.
- [You can now specify "or patterns" inside pattern matches.][79278]
  Previously you could only use `|` (OR) on complete patterns. E.g.
  ```rust
  let x = Some(2u8);
  // Before
  matches!(x, Some(1) | Some(2));
  // Now
  matches!(x, Some(1 | 2));
  ```
- [Added the `:pat_param` `macro_rules!` matcher.][83386] This matcher
  has the same semantics as the `:pat` matcher. This is to allow `:pat`
  to change semantics to being a pattern fragment in a future edition.

Compiler
-----------------------
- [Updated the minimum external LLVM version to LLVM 10.][83387]
- [Added Tier 3\* support for the `wasm64-unknown-unknown` target.][80525]
- [Improved debuginfo for closures and async functions on Windows MSVC.][83941]

\* Refer to Rust's [platform support page][platform-support-doc] for more
information on Rust's tiered platform support.

Libraries
-----------------------
- [Abort messages will now forward to `android_set_abort_message` on
  Android platforms when available.][81469]
- [`slice::IterMut<'_, T>` now implements `AsRef<[T]>`][82771]
- [Arrays of any length now implement `IntoIterator`.][84147]
  Currently calling `.into_iter()` as a method on an array will
  return `impl Iterator<Item=&T>`, but this may change in a
  future edition to change `Item` to `T`. Calling `IntoIterator::into_iter`
  directly on arrays will provide `impl Iterator<Item=T>` as expected.
- [`leading_zeros`, and `trailing_zeros` are now available on all
  `NonZero` integer types.][84082]
- [`{f32, f64}::from_str` now parse and print special values
  (`NaN`, `-0`) according to IEEE RFC 754.][78618]
- [You can now index into slices using `(Bound<usize>, Bound<usize>)`.][77704]
- [Add the `BITS` associated constant to all numeric types.][82565]

Stabilised APIs
---------------
- [`AtomicBool::fetch_update`]
- [`AtomicPtr::fetch_update`]
- [`BTreeMap::retain`]
- [`BTreeSet::retain`]
- [`BufReader::seek_relative`]
- [`DebugStruct::non_exhaustive`]
- [`Duration::MAX`]
- [`Duration::ZERO`]
- [`Duration::is_zero`]
- [`Duration::saturating_add`]
- [`Duration::saturating_mul`]
- [`Duration::saturating_sub`]
- [`ErrorKind::Unsupported`]
- [`Option::insert`]
- [`Ordering::is_eq`]
- [`Ordering::is_ge`]
- [`Ordering::is_gt`]
- [`Ordering::is_le`]
- [`Ordering::is_lt`]
- [`Ordering::is_ne`]
- [`OsStr::is_ascii`]
- [`OsStr::make_ascii_lowercase`]
- [`OsStr::make_ascii_uppercase`]
- [`OsStr::to_ascii_lowercase`]
- [`OsStr::to_ascii_uppercase`]
- [`Peekable::peek_mut`]
- [`Rc::decrement_strong_count`]
- [`Rc::increment_strong_count`]
- [`Vec::extend_from_within`]
- [`array::from_mut`]
- [`array::from_ref`]
- [`char::MAX`]
- [`char::REPLACEMENT_CHARACTER`]
- [`char::UNICODE_VERSION`]
- [`char::decode_utf16`]
- [`char::from_digit`]
- [`char::from_u32_unchecked`]
- [`char::from_u32`]
- [`cmp::max_by_key`]
- [`cmp::max_by`]
- [`cmp::min_by_key`]
- [`cmp::min_by`]
- [`f32::is_subnormal`]
- [`f64::is_subnormal`]

Cargo
-----------------------
- [Cargo now supports git repositories where the default `HEAD` branch is not
  "master".][cargo/9392] This also includes a switch to the version
  3 `Cargo.lock` format which can handle default branches correctly.
- [macOS targets now default to `unpacked` split-debuginfo.][cargo/9298]
- [The `authors` field is no longer included in `Cargo.toml` for new
  projects.][cargo/9282]

Rustdoc
-----------------------
- [Added the `rustdoc::bare_urls` lint that warns when you have URLs
  without hyperlinks.][81764]

Compatibility Notes
-------------------
- [Implement token-based handling of attributes during expansion][82608]
- [`Ipv4::from_str` will now reject octal format IP addresses in addition
  to rejecting hexadecimal IP addresses.][83652] The octal format can lead
  to confusion and potential security vulnerabilities and [is no
  longer recommended][ietf6943].

Internal Only
-------------
These changes provide no direct user facing benefits, but represent significant
improvements to the internals and overall performance of rustc and
related tools.

- [Rework the `std::sys::windows::alloc` implementation.][83065]
- [rustdoc: Don't enter an infer_ctxt in get_blanket_impls for
  impls that aren't blanket impls.][82864]
- [rustdoc: Only look at blanket impls in `get_blanket_impls`][83681]
- [Rework rustdoc const type][82873]

[83386]: https://github.com/rust-lang/rust/pull/83386
[82771]: https://github.com/rust-lang/rust/pull/82771
[84147]: https://github.com/rust-lang/rust/pull/84147
[84082]: https://github.com/rust-lang/rust/pull/84082
[83799]: https://github.com/rust-lang/rust/pull/83799
[83681]: https://github.com/rust-lang/rust/pull/83681
[83652]: https://github.com/rust-lang/rust/pull/83652
[83387]: https://github.com/rust-lang/rust/pull/83387
[82873]: https://github.com/rust-lang/rust/pull/82873
[82864]: https://github.com/rust-lang/rust/pull/82864
[82608]: https://github.com/rust-lang/rust/pull/82608
[82565]: https://github.com/rust-lang/rust/pull/82565
[80525]: https://github.com/rust-lang/rust/pull/80525
[79278]: https://github.com/rust-lang/rust/pull/79278
[78618]: https://github.com/rust-lang/rust/pull/78618
[77704]: https://github.com/rust-lang/rust/pull/77704
[83941]: https://github.com/rust-lang/rust/pull/83941
[83065]: https://github.com/rust-lang/rust/pull/83065
[81764]: https://github.com/rust-lang/rust/pull/81764
[81469]: https://github.com/rust-lang/rust/pull/81469
[cargo/9298]: https://github.com/rust-lang/cargo/pull/9298
[cargo/9282]: https://github.com/rust-lang/cargo/pull/9282
[cargo/9392]: https://github.com/rust-lang/cargo/pull/9392
[`char::MAX`]: https://doc.rust-lang.org/std/primitive.char.html#associatedconstant.MAX
[`char::REPLACEMENT_CHARACTER`]: https://doc.rust-lang.org/std/primitive.char.html#associatedconstant.REPLACEMENT_CHARACTER
[`char::UNICODE_VERSION`]: https://doc.rust-lang.org/std/primitive.char.html#associatedconstant.UNICODE_VERSION
[`char::decode_utf16`]: https://doc.rust-lang.org/std/primitive.char.html#method.decode_utf16
[`char::from_u32`]: https://doc.rust-lang.org/std/primitive.char.html#method.from_u32
[`char::from_u32_unchecked`]: https://doc.rust-lang.org/std/primitive.char.html#method.from_u32_unchecked
[`char::from_digit`]: https://doc.rust-lang.org/std/primitive.char.html#method.from_digit
[`AtomicBool::fetch_update`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicBool.html#method.fetch_update
[`AtomicPtr::fetch_update`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicPtr.html#method.fetch_update
[`BTreeMap::retain`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.retain
[`BTreeSet::retain`]: https://doc.rust-lang.org/std/collections/struct.BTreeSet.html#method.retain
[`BufReader::seek_relative`]: https://doc.rust-lang.org/std/io/struct.BufReader.html#method.seek_relative
[`DebugStruct::non_exhaustive`]: https://doc.rust-lang.org/std/fmt/struct.DebugStruct.html#method.finish_non_exhaustive
[`Duration::MAX`]: https://doc.rust-lang.org/std/time/struct.Duration.html#associatedconstant.MAX
[`Duration::ZERO`]: https://doc.rust-lang.org/std/time/struct.Duration.html#associatedconstant.ZERO
[`Duration::is_zero`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.is_zero
[`Duration::saturating_add`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.saturating_add
[`Duration::saturating_mul`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.saturating_mul
[`Duration::saturating_sub`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.saturating_sub
[`ErrorKind::Unsupported`]: https://doc.rust-lang.org/std/io/enum.ErrorKind.html#variant.Unsupported
[`Option::insert`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.insert
[`Ordering::is_eq`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.is_eq
[`Ordering::is_ge`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.is_ge
[`Ordering::is_gt`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.is_gt
[`Ordering::is_le`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.is_le
[`Ordering::is_lt`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.is_lt
[`Ordering::is_ne`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.is_ne
[`OsStr::eq_ignore_ascii_case`]: https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.eq_ignore_ascii_case
[`OsStr::is_ascii`]: https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.is_ascii
[`OsStr::make_ascii_lowercase`]: https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.make_ascii_lowercase
[`OsStr::make_ascii_uppercase`]: https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.make_ascii_uppercase
[`OsStr::to_ascii_lowercase`]: https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.to_ascii_lowercase
[`OsStr::to_ascii_uppercase`]: https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.to_ascii_uppercase
[`Peekable::peek_mut`]: https://doc.rust-lang.org/std/iter/struct.Peekable.html#method.peek_mut
[`Rc::decrement_strong_count`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.increment_strong_count
[`Rc::increment_strong_count`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.increment_strong_count
[`Vec::extend_from_within`]: https://doc.rust-lang.org/beta/std/vec/struct.Vec.html#method.extend_from_within
[`array::from_mut`]: https://doc.rust-lang.org/beta/std/array/fn.from_mut.html
[`array::from_ref`]: https://doc.rust-lang.org/beta/std/array/fn.from_ref.html
[`cmp::max_by_key`]: https://doc.rust-lang.org/beta/std/cmp/fn.max_by_key.html
[`cmp::max_by`]: https://doc.rust-lang.org/beta/std/cmp/fn.max_by.html
[`cmp::min_by_key`]: https://doc.rust-lang.org/beta/std/cmp/fn.min_by_key.html
[`cmp::min_by`]: https://doc.rust-lang.org/beta/std/cmp/fn.min_by.html
[`f32::is_subnormal`]: https://doc.rust-lang.org/std/primitive.f64.html#method.is_subnormal
[`f64::is_subnormal`]: https://doc.rust-lang.org/std/primitive.f64.html#method.is_subnormal
[ietf6943]: https://datatracker.ietf.org/doc/html/rfc6943#section-3.1.1

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

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

diffstat:
 rust/Makefile                                      |  35 ++--
 rust/distinfo                                      | 212 ++++++++++-----------
 rust/options.mk                                    |   2 +
 ...rustc__target_src_spec_i586__unknown__netbsd.rs |   6 +-
 ...compiler_rustc__target_src_spec_netbsd__base.rs |  23 ++-
 ...h-vendor_rustc-ap-rustc__target_src_spec_mod.rs |   4 +-
 6 files changed, 145 insertions(+), 137 deletions(-)

diffs:
diff --git a/rust/Makefile b/rust/Makefile
index a3c5c3054e..55df511f5c 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.197 2020/09/29 16:45:16 gdt Exp $
 
-DISTNAME=	rustc-1.52.1-src
+DISTNAME=	rustc-1.53.0-src
 PKGNAME=	${DISTNAME:S/rustc/rust/:S/-src//}
-PKGREVISION=	4
 CATEGORIES=	lang
 MASTER_SITES=	https://static.rust-lang.org/dist/
 
@@ -176,7 +175,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.51.0
+RUST_STAGE0_VER=	1.52.1
 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
@@ -184,7 +183,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.51.0
+RUST_STAGE0_VER=	1.52.1
 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
@@ -192,7 +191,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.51.0
+RUST_STAGE0_VER=	1.52.1
 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
@@ -205,7 +204,7 @@ pre-build-fix:
 # x86_64-sun-solaris bootstrap and comment out the overrides.
 #
 .if !empty(MACHINE_PLATFORM:MSunOS-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.51.0
+RUST_STAGE0_VER=	1.52.1
 RUST_ARCH:=		x86_64-unknown-illumos
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 SITES.${RUST_STAGE0}=	https://us-east.manta.joyent.com/pkgsrc/public/pkg-bootstraps/
@@ -219,7 +218,7 @@ CONFIGURE_ARGS+=	--target=${RUST_ARCH}
 pre-build-fix:
 .endif
 .if !empty(MACHINE_PLATFORM:MFreeBSD-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.51.0
+RUST_STAGE0_VER=	1.52.1
 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
@@ -227,7 +226,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.51.0
+RUST_STAGE0_VER=	1.52.1
 RUST_ARCH=		i586-unknown-netbsd
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -244,7 +243,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.51.0
+RUST_STAGE0_VER=	1.52.1
 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
@@ -252,7 +251,7 @@ 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.51.0
+RUST_STAGE0_VER=	1.52.1
 RUST_ARCH=		powerpc-unknown-netbsd
 
 # Cross-built against NetBSD 9.0
@@ -276,7 +275,7 @@ SITES.${RUST_STD_STAGE0}=	${MASTER_SITE_LOCAL:=rust/}
 pre-build-fix:
 .endif
 .if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.51.0
+RUST_STAGE0_VER=	1.52.1
 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
@@ -286,7 +285,7 @@ SITES.${RUST_STD_STAGE0}=	${MASTER_SITE_LOCAL:=rust/}
 pre-build-fix:
 .endif
 .if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64eb) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=	1.51.0
+RUST_STAGE0_VER=	1.52.1
 RUST_ARCH=		aarch64_be-unknown-netbsd
 RUST_STAGE0:=		rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=	rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -296,7 +295,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.51.0
+RUST_STAGE0_VER=	1.52.1
 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
@@ -307,7 +306,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.51.0
+RUST_STAGE0_VER=	1.52.1
 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}
@@ -347,16 +346,16 @@ SUBST_VARS.rpath=	PREFIX
 # updating and verification.
 #
 CKSUM_CRATES+=	vendor/libc
-CKSUMS+=	ed57a5ad4c715a9038055fe3a57ea12f5ef97c55c3f603596e721a5cbb90ed73
-CKSUMS+=	3cd5c5296dc09431c77663cb5b4b4ddd4454e18b6846fdb670da859280d3f6d1
+CKSUMS+=	be9f7a37d17a7616f6dbebd871fe4ae83612af6b582ebf153284cff1e7162334
+CKSUMS+=	42042ac121c0798f62db50afe41dde216e443fc836533c0904cb2e5ce810f377
 
 CKSUM_CRATES+=	vendor/cc-1.0.60
 CKSUMS+=	903c5f2f5dd0cc7d04f99f605a95e6abde8b38156fd4e73eefc58493f55a4e5a
 CKSUMS+=	e45520f4dda532240e4ec28af550fcb76f44090361f273bebcf0d07dc0807885
 
 CKSUM_CRATES+=	vendor/rustc-ap-rustc_target
-CKSUMS+=	ab83c62fab6927a47fc3d15c02eec41174ea9f3e8dce5c53adab613d48918bc5
-CKSUMS+=	01f50edc3845bd03459d525444150d03f57cdb479de2668a71c1538adf3d340a
+CKSUMS+=	3def6ed6df5a63e9bc9c212caad282592ee18b7c302b899017432cd5348e3252
+CKSUMS+=	bbdf039b0d6a70d556e777c059537f725c6c57467ea2348888f7302f1fda2bb9
 
 CKSUM_CRATES+=	vendor/lzma-sys
 CKSUMS+=	6fd5e9245db34c6f557b8bfcaf03db82fc88c3b06dbfbb5f03b2bcd138983ef9
diff --git a/rust/distinfo b/rust/distinfo
index 0e4779da2b..b7c4972307 100644
--- a/rust/distinfo
+++ b/rust/distinfo
@@ -1,115 +1,115 @@
 $NetBSD: distinfo,v 1.118 2020/08/06 11:42:56 jperkin Exp $
 
-SHA1 (rust-1.51.0-aarch64-unknown-netbsd.tar.gz) = 770be46d9e866b29b02dfcb244eb29727e32b8d5
-RMD160 (rust-1.51.0-aarch64-unknown-netbsd.tar.gz) = 006696350eff6ede693b2ccd2d29c8344bd15c4c
-SHA512 (rust-1.51.0-aarch64-unknown-netbsd.tar.gz) = 8c2e608ee48e0289790e1f1c4df0908896425ee2bb700129eda2752afff85128ef18b6837208637e88a78f2733dc882f55771a71f2b305dd030c803b8a64b7a2
-Size (rust-1.51.0-aarch64-unknown-netbsd.tar.gz) = 235129929 bytes
-SHA1 (rust-1.51.0-aarch64_be-unknown-netbsd.tar.gz) = 2a8b7fc8a145b7017bc9b73d6fb3637790938600
-RMD160 (rust-1.51.0-aarch64_be-unknown-netbsd.tar.gz) = 2228d4b70e4b35be7cfea135feebf45ec99856de
-SHA512 (rust-1.51.0-aarch64_be-unknown-netbsd.tar.gz) = 6c6a410466cc80eb01f73b94f79247ecddc363e3df10674cb4c8aa241b8d87243ece55fca58b5aa08e7a0692c617d0698fd95de1223b8034e52eccf439a4b7f7
-Size (rust-1.51.0-aarch64_be-unknown-netbsd.tar.gz) = 239034120 bytes
-SHA1 (rust-1.51.0-armv7-unknown-netbsd-eabihf.tar.gz) = ea3585e264231b2fe1a179b7f79913ad1f5fa677
-RMD160 (rust-1.51.0-armv7-unknown-netbsd-eabihf.tar.gz) = 758f597025f9341cd6a87c8372f3eb91c7d82112
-SHA512 (rust-1.51.0-armv7-unknown-netbsd-eabihf.tar.gz) = 0ceb86d3e8796d53ea3d9e2e8f77e8be37977fa864bdec40785aea3d9e2aa4d77bf62b718101b98f5f59019d9e245691b047a9839ceeb8844716753ff4e50fc5
-Size (rust-1.51.0-armv7-unknown-netbsd-eabihf.tar.gz) = 211192792 bytes
-SHA1 (rust-1.51.0-i586-unknown-netbsd.tar.gz) = 567db74be379b21f3e7a822a7ce529ba3c38de66
-RMD160 (rust-1.51.0-i586-unknown-netbsd.tar.gz) = 55c0b4dae77a6482f82f47e54dc0c294f23cd188
-SHA512 (rust-1.51.0-i586-unknown-netbsd.tar.gz) = 0c03eff587c8e9519d529754f5ddcb747ffbdf8488eb80623a0592071c019a4c73e86bb66c0b9eaaf4c3bc9dab7815eb5a4ec6c28afa85a594ce75e9f500212e
-Size (rust-1.51.0-i586-unknown-netbsd.tar.gz) = 254835447 bytes
-SHA1 (rust-1.51.0-i686-unknown-linux-gnu.tar.gz) = 88842f938f30a65ad94db0a8e06bf84d08e68ed0
-RMD160 (rust-1.51.0-i686-unknown-linux-gnu.tar.gz) = 8673266dbd63c7c3fa3ea3d0261d04de4baa3f56
-SHA512 (rust-1.51.0-i686-unknown-linux-gnu.tar.gz) = ef5d5cecc13d3b454c3348ae812e93a5d456f5364625b06e87410a497d4c2f44efdceb1ab5fbd07f4d4eeb6d59b06a58d7dc09f54c76d13b295e1af9821dbe58
-Size (rust-1.51.0-i686-unknown-linux-gnu.tar.gz) = 348617711 bytes
-SHA1 (rust-1.51.0-powerpc-unknown-netbsd.tar.gz) = a029765092466d69918c7e6de8d2b0e7ee124589
-RMD160 (rust-1.51.0-powerpc-unknown-netbsd.tar.gz) = f58fb7d39e8d01e4f96337a860722961a395e4b7
-SHA512 (rust-1.51.0-powerpc-unknown-netbsd.tar.gz) = ddd8df70614458267fa9d980c623fa0b7ab6037f23ba623f4cb7d82162ef123d3e3329663f88e6ef967b36df3ebdf050486bf9c8665ff59525c951002488baac
-Size (rust-1.51.0-powerpc-unknown-netbsd.tar.gz) = 266958089 bytes
-SHA1 (rust-1.51.0-powerpc-unknown-netbsd90.tar.gz) = 12ebabba42505ceef01cfd01cf5c14697e7c40f1
-RMD160 (rust-1.51.0-powerpc-unknown-netbsd90.tar.gz) = 3554e8510e8f627c6f52dcadae8a3f2f53a43697
-SHA512 (rust-1.51.0-powerpc-unknown-netbsd90.tar.gz) = d6fb9a622aefa8bef5395c7e3846c3aa8987c0b810c9d382d2a7f0f3ca343748493b155835846f4c5e76f7a1ec2b65dace4610e8e94758b7f08259da22d9a2ff
-Size (rust-1.51.0-powerpc-unknown-netbsd90.tar.gz) = 272438402 bytes
-SHA1 (rust-1.51.0-sparc64-unknown-netbsd.tar.gz) = 7e1ed5667460c41566997983f9ed256779925246
-RMD160 (rust-1.51.0-sparc64-unknown-netbsd.tar.gz) = 636284065fba846cbf53cd7e25ba1273f643b657
-SHA512 (rust-1.51.0-sparc64-unknown-netbsd.tar.gz) = f62916f790c97f5fde8ee7382e4641eead5522ddc3e6f12f6e7eb996f9caefdd7fb2f22eca1dedeeca90c8f28636dee83e655d6fd82dc35fb4b5bc06b7221063
-Size (rust-1.51.0-sparc64-unknown-netbsd.tar.gz) = 251407790 bytes
-SHA1 (rust-1.51.0-x86_64-apple-darwin.tar.gz) = e95641fafefe8306ed4ee5acfabd2514977d2a97
-RMD160 (rust-1.51.0-x86_64-apple-darwin.tar.gz) = 1801df289765c69d693f7e94855a32d62c87ad2e
-SHA512 (rust-1.51.0-x86_64-apple-darwin.tar.gz) = e5241828e524cb849c0496c55df46bb51d96ef5f934f763d98b4ed723d18fc888318e3d82771970502672d24dda1c25f6af86d46b6682bea1bab3400327766d2
-Size (rust-1.51.0-x86_64-apple-darwin.tar.gz) = 282954035 bytes
-SHA1 (rust-1.51.0-x86_64-unknown-freebsd.tar.gz) = 910aea9fd50672ebe4876ce625125293c07c8205
-RMD160 (rust-1.51.0-x86_64-unknown-freebsd.tar.gz) = eab7a4503218ec7fd310b82481208f8234547fe4
-SHA512 (rust-1.51.0-x86_64-unknown-freebsd.tar.gz) = 3f8b1916355983e48c4826b0ad40a770afddd4223df719fb8887f77e6432b8afc251d0f885bd31d222560df616ad9a43114317b0d6c57a6c161c1f7a74513cde
-Size (rust-1.51.0-x86_64-unknown-freebsd.tar.gz) = 274904875 bytes
-SHA1 (rust-1.51.0-x86_64-unknown-illumos.tar.gz) = 31f29bf161def4e32efad9e0bfdc4e7eba93a18a
-RMD160 (rust-1.51.0-x86_64-unknown-illumos.tar.gz) = 9b2e9711dac029e0087ffdab3db91bf40a9297f3
-SHA512 (rust-1.51.0-x86_64-unknown-illumos.tar.gz) = 47cccf32136323c27c686f2658b64513c7f313cb034912fdb8109f3951593dd5c8135c4927fc1088d50d22ad8bfef9cb117f2b119677da334d6131b2a86f87da
-Size (rust-1.51.0-x86_64-unknown-illumos.tar.gz) = 198895161 bytes
-SHA1 (rust-1.51.0-x86_64-unknown-linux-gnu.tar.gz) = 3b7fba48561118452736f63a1378bb3418b6dabc
-RMD160 (rust-1.51.0-x86_64-unknown-linux-gnu.tar.gz) = f777cc3b357b79fa7bfecda6ac53d75b37188558
-SHA512 (rust-1.51.0-x86_64-unknown-linux-gnu.tar.gz) = 08230543a78082a758f43d5cd70a9c7330a1132af394e3191db9cb64cb61462ec2ce5af6b81a719a2059662f11c08586a241aa0048e5ca8f729c9daf550b57fd
-Size (rust-1.51.0-x86_64-unknown-linux-gnu.tar.gz) = 252602702 bytes
-SHA1 (rust-1.51.0-x86_64-unknown-netbsd.tar.gz) = 92092d3b0f11cb6279ce4f00fa07e50b45689774
-RMD160 (rust-1.51.0-x86_64-unknown-netbsd.tar.gz) = 368ce7be8de4ba44fedd319d6cf6092cdf4f6013
-SHA512 (rust-1.51.0-x86_64-unknown-netbsd.tar.gz) = 39fa1b270fdb322f14bdb26e70b2ea64f5e84f947a6519ea7255f6675c534ee7e8a97d3b3c95d881f52ce2a811d0c5914fb5b81fdb3cc3bc5a5fe71d198e6995
-Size (rust-1.51.0-x86_64-unknown-netbsd.tar.gz) = 259950675 bytes
-SHA1 (rust-std-1.51.0-aarch64-unknown-netbsd.tar.gz) = 847608d0d513be5ecf69481baf91dce83ae69cc4
-RMD160 (rust-std-1.51.0-aarch64-unknown-netbsd.tar.gz) = 4c6318f326eef611fab8ca0b5945f62f08d94615
-SHA512 (rust-std-1.51.0-aarch64-unknown-netbsd.tar.gz) = 864102407d7ff2354f8d349cedfd3eed7567475ca62f4bbfd4e33495035385d81ff3d4d00ece3d2e48229c6a611afe8aac4348f9f6288ac227c2e76ef2b20378
-Size (rust-std-1.51.0-aarch64-unknown-netbsd.tar.gz) = 25807017 bytes
-SHA1 (rust-std-1.51.0-aarch64_be-unknown-netbsd.tar.gz) = d750ccf65449214da9fb628e1864018c32f81e17
-RMD160 (rust-std-1.51.0-aarch64_be-unknown-netbsd.tar.gz) = 9c3aa229b69a941c4633d1334f0165c90b1dd52d
-SHA512 (rust-std-1.51.0-aarch64_be-unknown-netbsd.tar.gz) = 93e5d835301c34e3e92bbec554ff50a440a9096ab95c8aaa08e45188f81cfcd353ff0dfb967e18ffa9f60131e7230c59c5b8b70307ed11bc841cb8354c716d18
-Size (rust-std-1.51.0-aarch64_be-unknown-netbsd.tar.gz) = 25823554 bytes
-SHA1 (rust-std-1.51.0-armv7-unknown-netbsd-eabihf.tar.gz) = 387ae8d275675e407ab939a1e507fa7794324841
-RMD160 (rust-std-1.51.0-armv7-unknown-netbsd-eabihf.tar.gz) = 49340240a2f38584a970e4344a963cda28f1f3f0
-SHA512 (rust-std-1.51.0-armv7-unknown-netbsd-eabihf.tar.gz) = d81b6c05374fca7ed1295974a122ba0fb710ec1f374ec295179c5f673225047c3b7fa74251df839472338de1e5676427f28fb6032fa492f30ae93ca209c0f685
-Size (rust-std-1.51.0-armv7-unknown-netbsd-eabihf.tar.gz) = 25754981 bytes
-SHA1 (rust-std-1.51.0-i586-unknown-netbsd.tar.gz) = e9cd0d298cf92bf7568bd55c9606db3c0f1ba6f2
-RMD160 (rust-std-1.51.0-i586-unknown-netbsd.tar.gz) = b6864900b28aa54b33731a4e07b4d4c05c417e6b
-SHA512 (rust-std-1.51.0-i586-unknown-netbsd.tar.gz) = c041d210276231847418e9cdc714954ac96b27671c4d6d4e5be48a45463d81aa972126cd455a1c5c25f506a925b1de6171645f7567378a3aa34eb9e20a7ade46
-Size (rust-std-1.51.0-i586-unknown-netbsd.tar.gz) = 36220310 bytes
-SHA1 (rust-std-1.51.0-i686-unknown-linux-gnu.tar.gz) = 2ef50296b7512c3184402edaba727a0a0e789b73
-RMD160 (rust-std-1.51.0-i686-unknown-linux-gnu.tar.gz) = 568d59580bf626c908cccc3574eb94f693f934e1
-SHA512 (rust-std-1.51.0-i686-unknown-linux-gnu.tar.gz) = b663b95dd37229c88b7d816cd28d6f6f4667b61a1065082a4dd2a01a6a0fa16dfd24c89c7ee977e7c0bbecaf8a2da218be0847f8566dc0d0121dddd00acbe6fe
-Size (rust-std-1.51.0-i686-unknown-linux-gnu.tar.gz) = 40523381 bytes
-SHA1 (rust-std-1.51.0-powerpc-unknown-netbsd.tar.gz) = 876df1afce0a48273a759b02c65cadcdf6474916
-RMD160 (rust-std-1.51.0-powerpc-unknown-netbsd.tar.gz) = 6f1095937a78a7ab6997b634d4ff5f032f8b385f
-SHA512 (rust-std-1.51.0-powerpc-unknown-netbsd.tar.gz) = 4ed51881bc8fcd2f4c7dbd02daad1a5405f533ddf91bfaccb798e2743a7ce231670e74ba2ce7c2953d2df5cf04cb8648ade42a4a138bd2ae54556e0295b19af9
-Size (rust-std-1.51.0-powerpc-unknown-netbsd.tar.gz) = 25217911 bytes
-SHA1 (rust-std-1.51.0-powerpc-unknown-netbsd90.tar.gz) = c5e0e17131c7fb0eeff8e866ed018ad24717c541
-RMD160 (rust-std-1.51.0-powerpc-unknown-netbsd90.tar.gz) = fe2f0d2da7206184e5bbc7e2e415cb771e342c72
-SHA512 (rust-std-1.51.0-powerpc-unknown-netbsd90.tar.gz) = 6d9349d49986ff9c30c45e60c92a3f3e4ccf882de79191647a2ad6b546f231c52bc67d63c4c1808552d320e9abbaa23502de1a89981df6706e3a6ee65c4da4e1
-Size (rust-std-1.51.0-powerpc-unknown-netbsd90.tar.gz) = 25213909 bytes
-SHA1 (rust-std-1.51.0-sparc64-unknown-netbsd.tar.gz) = ea20329af7c62fc0a55cc390aff818a9840edf9a
-RMD160 (rust-std-1.51.0-sparc64-unknown-netbsd.tar.gz) = 462ea2c4c96d64706f58b52dede33c795f241c4b
-SHA512 (rust-std-1.51.0-sparc64-unknown-netbsd.tar.gz) = 526fa2144348a2487d853b962c3964da9df9f1f16574619558c1cc3e30efa657d6355928fd82dd77b99370aa8cd5f39e9f4ef1114e2cc5df93caa18eac08f8ee
-Size (rust-std-1.51.0-sparc64-unknown-netbsd.tar.gz) = 25477588 bytes
-SHA1 (rust-std-1.51.0-x86_64-apple-darwin.tar.gz) = 19c982ec312877f7e7ace72ec3ea86ee12ec2f05
-RMD160 (rust-std-1.51.0-x86_64-apple-darwin.tar.gz) = a9d257313926f32a06e916e1eb90e1e245e79bc7
-SHA512 (rust-std-1.51.0-x86_64-apple-darwin.tar.gz) = c2a523456137608b43cb0b7eb7e78b9e695a1f9a35374842d5635b92cc83d68d83346b7d9b0c0be9f6c9d244b6968ae9d48cc0513b6dd83dd68b414d2aa34611
-Size (rust-std-1.51.0-x86_64-apple-darwin.tar.gz) = 40894522 bytes
-SHA1 (rust-std-1.51.0-x86_64-unknown-freebsd.tar.gz) = e7e45a50ce80c1eaf8ae6895614a15e852bc5c1e
-RMD160 (rust-std-1.51.0-x86_64-unknown-freebsd.tar.gz) = 8390b5dd289aa02d49c7503ff45924c4c1d058c4
-SHA512 (rust-std-1.51.0-x86_64-unknown-freebsd.tar.gz) = 7583540191088425c0bed74db721619d7224f8c5b34dfdf0d710970138a4dd417e4310fb2653c6fda055f68b76e9e72bb22fbdccc7b5ae8495c3f254f01176b0
-Size (rust-std-1.51.0-x86_64-unknown-freebsd.tar.gz) = 42413405 bytes
-SHA1 (rust-std-1.51.0-x86_64-unknown-linux-gnu.tar.gz) = c873021a4509742daf9d447f6b37b1b63ff8e4df
-RMD160 (rust-std-1.51.0-x86_64-unknown-linux-gnu.tar.gz) = 297c692d2732f3c81ca30e60e6a304831e566131
-SHA512 (rust-std-1.51.0-x86_64-unknown-linux-gnu.tar.gz) = 4558d87b970e43d638b8f22d7840be7a269b7265f0ee28d792636736a3ad2cc04ac772a8d4a08c19afeb605fcc7aa88fffae7ad72bd8bf3f745ce7c2b72fa81e
-Size (rust-std-1.51.0-x86_64-unknown-linux-gnu.tar.gz) = 43880852 bytes
-SHA1 (rust-std-1.51.0-x86_64-unknown-netbsd.tar.gz) = e6403cfbee29b7b0b12d3d8ef2f66fcf1b82c60c
-RMD160 (rust-std-1.51.0-x86_64-unknown-netbsd.tar.gz) = 6702eca31ab2331bc3c1439331fac8fc1ca8c9a0
-SHA512 (rust-std-1.51.0-x86_64-unknown-netbsd.tar.gz) = ca22e155c0270404a8fb2ddd4eb62fe13537bce6ebaebf7bd37d69556f0c039932489ddb5b3be1efdb1d36eea6f03ef114c0bed7b1d17d4b2b566b9df6df22b6
-Size (rust-std-1.51.0-x86_64-unknown-netbsd.tar.gz) = 39919481 bytes
-SHA1 (rustc-1.52.1-src.tar.gz) = 9a3463b178105040de6524c8849703a3ab0419d3
-RMD160 (rustc-1.52.1-src.tar.gz) = 03ee0639d7436d8f5ddb6229c5e112662f10015b
-SHA512 (rustc-1.52.1-src.tar.gz) = 24073c46cff5a9ecb740b01a9d33ba37eb57eee8cb3fb6c29081e398bc48ffb63ef95a9d650a65554c17ebd85ed36c009ddbe5d2a3d8a37f0540308481c89432
-Size (rustc-1.52.1-src.tar.gz) = 168175645 bytes
+SHA1 (rust-1.52.1-aarch64-unknown-netbsd.tar.gz) = bf0893cf5ce90431f317585078e630b3d3d2d8ca
+RMD160 (rust-1.52.1-aarch64-unknown-netbsd.tar.gz) = 2111acc0a157b61225d67ebdf28d843fcd1fe31d
+SHA512 (rust-1.52.1-aarch64-unknown-netbsd.tar.gz) = 8ae86a711756cfb5ea58095e7aa2b0ca9e5548da62b703f8e30847b4543035a461594a14a8b791b21d06f5109d6ceea128f6262221350e0fa24a9f62e66cf719
+Size (rust-1.52.1-aarch64-unknown-netbsd.tar.gz) = 292520308 bytes
+SHA1 (rust-1.52.1-aarch64_be-unknown-netbsd.tar.gz) = 89dbeb6d022e33452343dd26c5c64095a1b72150
+RMD160 (rust-1.52.1-aarch64_be-unknown-netbsd.tar.gz) = 2bd5c9107c5cd3710619b9099f10b62896b7c5e0
+SHA512 (rust-1.52.1-aarch64_be-unknown-netbsd.tar.gz) = a595add5509dbfbd28efab70cce48f115571e567895f63e4c59d0120d469dedcf5e9795b2baef3a1a54cc81eee81c1855071ada61a1ea5d8f26a30ac562ecffb
+Size (rust-1.52.1-aarch64_be-unknown-netbsd.tar.gz) = 296941368 bytes
+SHA1 (rust-1.52.1-armv7-unknown-netbsd-eabihf.tar.gz) = 54fc1e53a1876006d10f9b6e5d136e3e7506a727
+RMD160 (rust-1.52.1-armv7-unknown-netbsd-eabihf.tar.gz) = 27c190370f1000ccd7171c9d049d71279ebc7947
+SHA512 (rust-1.52.1-armv7-unknown-netbsd-eabihf.tar.gz) = 858161a6814f42807af54a746a29ed72f8a7c8dc835c129e95f36e395dfbd0adaf23a8a80749b46d147cca063d1344206675eca060bac391ba04d5c87b5cdd1b
+Size (rust-1.52.1-armv7-unknown-netbsd-eabihf.tar.gz) = 262615033 bytes
+SHA1 (rust-1.52.1-i586-unknown-netbsd.tar.gz) = e881f30abeac680e2ab4003bf10644f42ab209d6
+RMD160 (rust-1.52.1-i586-unknown-netbsd.tar.gz) = ea6d0aeaba69e5b4ec9fb7f734baf026d8cfebf2
+SHA512 (rust-1.52.1-i586-unknown-netbsd.tar.gz) = 835028d58b64140619d72561e989f13dba20fc1c89dcb67bdf0b013952832e92904b2a5e8f48104dd835b5f3037565828dc1708c26ba43c403bedcd0fea6fb7e
+Size (rust-1.52.1-i586-unknown-netbsd.tar.gz) = 310872131 bytes
+SHA1 (rust-1.52.1-i686-unknown-linux-gnu.tar.gz) = 9f02af06cfd735305be5c29d584e555bc57172e7
+RMD160 (rust-1.52.1-i686-unknown-linux-gnu.tar.gz) = 64d94d3bfffeb6617ff2f64d60143e56ae584450
+SHA512 (rust-1.52.1-i686-unknown-linux-gnu.tar.gz) = 335336cbf935cdfd3da3823f5523fbea54dc5658f7235fc0f14cb22947de435dc29d78bc80a8eb599caa66c6593494796743d8fb0ec58bbcbbfea2d1e8c7f16a
+Size (rust-1.52.1-i686-unknown-linux-gnu.tar.gz) = 353110704 bytes
+SHA1 (rust-1.52.1-powerpc-unknown-netbsd.tar.gz) = 3f038371208b4dc7156ed7f106a79ebaa072699a
+RMD160 (rust-1.52.1-powerpc-unknown-netbsd.tar.gz) = 8db44ae2543f0949783b58a21f51ebb6984ac75a
+SHA512 (rust-1.52.1-powerpc-unknown-netbsd.tar.gz) = dd352f67d4605ddc73689b7157da538e009f5c1ccca7a02b8f509c9218de090cd4ca974d786420eedc7756b02491b128ab50ae9646c2f352561162421d9abfc6
+Size (rust-1.52.1-powerpc-unknown-netbsd.tar.gz) = 324657588 bytes
+SHA1 (rust-1.52.1-powerpc-unknown-netbsd90.tar.gz) = b45d3192e275297c844117b9d615f2ac55730640
+RMD160 (rust-1.52.1-powerpc-unknown-netbsd90.tar.gz) = 787f30b61573ef4ef1255c6b552b200a5cafa2a4
+SHA512 (rust-1.52.1-powerpc-unknown-netbsd90.tar.gz) = f765b3b4dde602aa1032f58fa505cf8900a3d1b7d90c9347d2129efa6ea9311a499adc0dc2578723b9234d6f27aa2c9acdb4aff65208a6ced0580a97c7874efb
+Size (rust-1.52.1-powerpc-unknown-netbsd90.tar.gz) = 329947399 bytes
+SHA1 (rust-1.52.1-sparc64-unknown-netbsd.tar.gz) = 97f71cbebf4f6828323d541c1d89ab68632b7678
+RMD160 (rust-1.52.1-sparc64-unknown-netbsd.tar.gz) = 2983cc880b7fa14cef2cd9dc70ca2cfd16119be5
+SHA512 (rust-1.52.1-sparc64-unknown-netbsd.tar.gz) = e3804bfa6a082ac209eb75f3a43925f24e31be22e0c4e15992639dbc9d2b6f23b42755c5e76f8cd35531463a217f58fdf63463fe57ba464fcefecb4b6f9b4c0b
+Size (rust-1.52.1-sparc64-unknown-netbsd.tar.gz) = 305837361 bytes
+SHA1 (rust-1.52.1-x86_64-apple-darwin.tar.gz) = da14a9222e1c83319c21811c2e29b4957a808ff4
+RMD160 (rust-1.52.1-x86_64-apple-darwin.tar.gz) = eb4c0205e6ecde8046a56098e94854d0f38dd68e
+SHA512 (rust-1.52.1-x86_64-apple-darwin.tar.gz) = aade41eab3a6cb975d2a9f2420757dfe656b35c5590f1e11bd4f16cd22e2981fde9656178d7050993aa0c153e792aa7a97d4778727c1f387432c72120b24169e
+Size (rust-1.52.1-x86_64-apple-darwin.tar.gz) = 290879944 bytes
+SHA1 (rust-1.52.1-x86_64-unknown-freebsd.tar.gz) = 5661fef6f64c4531b604f97725742e6890eb164f
+RMD160 (rust-1.52.1-x86_64-unknown-freebsd.tar.gz) = 6489b56e3dcb9ef3d1b65bf143d5934035df2617
+SHA512 (rust-1.52.1-x86_64-unknown-freebsd.tar.gz) = 5d8666d2f5a3bc02d235fa012a7b01c405b5db8a4d2af0217e9b5a2295cdb8365535a3eebcb24459fa2212bc46b62d12088fc3e151c2379508ee99591b15e478
+Size (rust-1.52.1-x86_64-unknown-freebsd.tar.gz) = 280557191 bytes
+SHA1 (rust-1.52.1-x86_64-unknown-illumos.tar.gz) = c1de846c91a6b826c8304e1038f909c8bd6490b6
+RMD160 (rust-1.52.1-x86_64-unknown-illumos.tar.gz) = 86f743be2fb4993ee9a6f0b5a78b0173d2bbd117
+SHA512 (rust-1.52.1-x86_64-unknown-illumos.tar.gz) = 1128518c2b9a15eefec0dd040a9607679398f88f7c1c34c7b8b91f28f343236bc2616df1bbe0fcb91d75ddf8c47a83598755b0a153648f0e7d1e48bb2b68e462
+Size (rust-1.52.1-x86_64-unknown-illumos.tar.gz) = 190549996 bytes
+SHA1 (rust-1.52.1-x86_64-unknown-linux-gnu.tar.gz) = f1aecb46e8b642a76d81730d14da1fe110d62a72
+RMD160 (rust-1.52.1-x86_64-unknown-linux-gnu.tar.gz) = 87afc52f5728e78c54357a934d85deefa1346c29
+SHA512 (rust-1.52.1-x86_64-unknown-linux-gnu.tar.gz) = f2216287f92b8fff164d50494626eb25b2ba0cb3653b6b8b16ee7f9a89b914af04217fa5e6f7197993d3f630b73d4cafd175dbd6a8ab847ab83b352dd1555dfb
+Size (rust-1.52.1-x86_64-unknown-linux-gnu.tar.gz) = 249887515 bytes
+SHA1 (rust-1.52.1-x86_64-unknown-netbsd.tar.gz) = e5ebce3406822e94d9a543c70ffd0221af7df4f9
+RMD160 (rust-1.52.1-x86_64-unknown-netbsd.tar.gz) = 724c914095e583a2f4459e105b7cda275cef5545
+SHA512 (rust-1.52.1-x86_64-unknown-netbsd.tar.gz) = b0090aea70b626936c801e1e7f4b75c943e0093002cc025a6fa39ebb2961e53b52ae309341501fd2fc62168e6b3922f9171939b032f0ddd50030f6a6927554e9
+Size (rust-1.52.1-x86_64-unknown-netbsd.tar.gz) = 236118745 bytes
+SHA1 (rust-std-1.52.1-aarch64-unknown-netbsd.tar.gz) = 5f9add51c637beba5e98565fcc15a00875f81088
+RMD160 (rust-std-1.52.1-aarch64-unknown-netbsd.tar.gz) = 024a5f82fd0d3889993f1e8afa5046f80ba86c51
+SHA512 (rust-std-1.52.1-aarch64-unknown-netbsd.tar.gz) = b03fe1a6992803bd7f40fe5dbdf46e57e07343809be00e534dae6db4eeec41b94e3ec6ce7fe08cbe7bd5d2d59cac9a95ad250641d17a1fe5b010137c1b20a753
+Size (rust-std-1.52.1-aarch64-unknown-netbsd.tar.gz) = 25197353 bytes
+SHA1 (rust-std-1.52.1-aarch64_be-unknown-netbsd.tar.gz) = df9e248e195ee73ebc41161ce252d94641bb3a3b
+RMD160 (rust-std-1.52.1-aarch64_be-unknown-netbsd.tar.gz) = 7409b769832715d049c24014610f50794e0e67d1
+SHA512 (rust-std-1.52.1-aarch64_be-unknown-netbsd.tar.gz) = 67176a9fb18f8c3f710952eb57dd26c14b7f32cf1f218bc538a19bd4ec00ff0c81a8eace2d01fe21b649fd19dc660c16113240482509206b108f5f1f64a6da02
+Size (rust-std-1.52.1-aarch64_be-unknown-netbsd.tar.gz) = 25199515 bytes
+SHA1 (rust-std-1.52.1-armv7-unknown-netbsd-eabihf.tar.gz) = c73161d82b7d94d360a4c2d8ba1c41fb23645a13
+RMD160 (rust-std-1.52.1-armv7-unknown-netbsd-eabihf.tar.gz) = 98f9abcd567a8615579e020a0e5733c126cae2d3
+SHA512 (rust-std-1.52.1-armv7-unknown-netbsd-eabihf.tar.gz) = bdc285f5272610572ab09e27203391a9e72034dc9ed2796fe754a6c8cf8202255236407adbbde7ae7105a2e7388d57af184be4bc7c026803453ccd94100ae3ed
+Size (rust-std-1.52.1-armv7-unknown-netbsd-eabihf.tar.gz) = 25089392 bytes
+SHA1 (rust-std-1.52.1-i586-unknown-netbsd.tar.gz) = 8b070656788067b3f18d05b8d0b37105bb7cd911
+RMD160 (rust-std-1.52.1-i586-unknown-netbsd.tar.gz) = 2a16aed6ec9110ac653e159de2ffbaa8298d48e8
+SHA512 (rust-std-1.52.1-i586-unknown-netbsd.tar.gz) = 2ac6a781844e405cc445d312a2f0000eafa5876c3df24834af5b4e4478187624c97c151bd6701eb7d54759fd0efc56468a2055ed3f52afa0bc510ef3a8f140b9
+Size (rust-std-1.52.1-i586-unknown-netbsd.tar.gz) = 35524659 bytes
+SHA1 (rust-std-1.52.1-i686-unknown-linux-gnu.tar.gz) = 8e54fdf5e540095e51cca282d7954f3457930873
+RMD160 (rust-std-1.52.1-i686-unknown-linux-gnu.tar.gz) = ec92a59d8586790392921cb034e09608fed2959b
+SHA512 (rust-std-1.52.1-i686-unknown-linux-gnu.tar.gz) = c62f0b4504874e4e3434cf7276abef5389eb44a4443d22d476d68486f4a978a97eb9a52cee50b3a0e6b505014fe2c83d111dfc18a906dcca808c25fff63958b4
+Size (rust-std-1.52.1-i686-unknown-linux-gnu.tar.gz) = 39635086 bytes
+SHA1 (rust-std-1.52.1-powerpc-unknown-netbsd.tar.gz) = 12d6dde1d866bb195bc7411a47d9997a0b58a7ef
+RMD160 (rust-std-1.52.1-powerpc-unknown-netbsd.tar.gz) = c011bc02db8fa375012f63a854c120485ef4cb0a
+SHA512 (rust-std-1.52.1-powerpc-unknown-netbsd.tar.gz) = a08f9ff3d8f3acd17530e16adaeeb1b1c855d6ee5031702884b4b0aa5091f162a0a6d5acbfc3bd198a3bbd0006d81a214dc694efad0b6962b9604be4432c593b
+Size (rust-std-1.52.1-powerpc-unknown-netbsd.tar.gz) = 24606121 bytes
+SHA1 (rust-std-1.52.1-powerpc-unknown-netbsd90.tar.gz) = 18a9bf8f5d19652ebf015c1dc09467e53ac8ef41
+RMD160 (rust-std-1.52.1-powerpc-unknown-netbsd90.tar.gz) = 2913113fc6eb72e2fabe2e516bc46a2e52310e24
+SHA512 (rust-std-1.52.1-powerpc-unknown-netbsd90.tar.gz) = 744b88490509762c2a023010e2220efa86df340408ccb4033fc9d105b8869f8a2057c1f9f432eb5e489b13f31ed4cb5f33828c44f8a99bdf4528d5b835c8da78
+Size (rust-std-1.52.1-powerpc-unknown-netbsd90.tar.gz) = 24601068 bytes
+SHA1 (rust-std-1.52.1-sparc64-unknown-netbsd.tar.gz) = 083d57f959e604073f11053c72dbf4957b562815
+RMD160 (rust-std-1.52.1-sparc64-unknown-netbsd.tar.gz) = d16bfdf7723916c4cf9cd84db4f158d4cddb1e99
+SHA512 (rust-std-1.52.1-sparc64-unknown-netbsd.tar.gz) = 0486cf77abb3613ce8f7632d7fc13511c17017af0a22ac8dd2146b49e7fa1fc06125ccfb07f2163856c9033f7abf18ddbbf34a364dde2925f1dee616d196e8b9
+Size (rust-std-1.52.1-sparc64-unknown-netbsd.tar.gz) = 24834477 bytes
+SHA1 (rust-std-1.52.1-x86_64-apple-darwin.tar.gz) = 8414e2355a8db8aca61168d4be63d5f6959f3ac2
+RMD160 (rust-std-1.52.1-x86_64-apple-darwin.tar.gz) = 148b38fe3ad6b0d9ba3a87829ab03f2b8b5ad26a
+SHA512 (rust-std-1.52.1-x86_64-apple-darwin.tar.gz) = 7e0aad7b2058839a41557c4f474005af4f7c07a3e0e6b4d090efd7383d1c64cb16d1ae45dc5c339a394320de7c7c7e022cb7e2a374f24334fd5faae90eaaf40e
+Size (rust-std-1.52.1-x86_64-apple-darwin.tar.gz) = 40938790 bytes
+SHA1 (rust-std-1.52.1-x86_64-unknown-freebsd.tar.gz) = 370a93451176a56207f05da7dad0bad42c80702f
+RMD160 (rust-std-1.52.1-x86_64-unknown-freebsd.tar.gz) = 8df72e98590aafda09dec40675529f8dc8fbc3bc
+SHA512 (rust-std-1.52.1-x86_64-unknown-freebsd.tar.gz) = 7331a3cfe56b9413fecd4bad22ab9d7365135bd917a5a9fbe27edd64ac73ba7c565a95d01900bbc9cac8c20d94d6f515e246d0664a824539a35e17b67de8647e
+Size (rust-std-1.52.1-x86_64-unknown-freebsd.tar.gz) = 41610379 bytes
+SHA1 (rust-std-1.52.1-x86_64-unknown-linux-gnu.tar.gz) = c312843c6b2fafcb5ca0425fd6bd171f1cbae31d
+RMD160 (rust-std-1.52.1-x86_64-unknown-linux-gnu.tar.gz) = e524a9a7f61dad57f6a0f83cc2b41d8ba45223c8
+SHA512 (rust-std-1.52.1-x86_64-unknown-linux-gnu.tar.gz) = f7a11cc29a83cc88c2f6f66414a750f36e6dbbeeefae783b49910c7e9d5c309bb71a7594a204f23ebc362c97d2077cf1f0f14059cc81e3f329bca3718282619f
+Size (rust-std-1.52.1-x86_64-unknown-linux-gnu.tar.gz) = 43129817 bytes
+SHA1 (rust-std-1.52.1-x86_64-unknown-netbsd.tar.gz) = c5b0e578eda89d82ab2f8da51e1a840cfcff2852
+RMD160 (rust-std-1.52.1-x86_64-unknown-netbsd.tar.gz) = 7d5bc284ca83b81fa0b91b29824a7c6d1dbb4c40
+SHA512 (rust-std-1.52.1-x86_64-unknown-netbsd.tar.gz) = d86f06b4c0140c1a92d8c9420be2c5d493c47f2d25749bd70a0b06a6205832b4ed964de7eadb19109c99b2934218f810e17df4c6897a08450ffe29060e8cfe47
+Size (rust-std-1.52.1-x86_64-unknown-netbsd.tar.gz) = 35763722 bytes
+SHA1 (rustc-1.53.0-src.tar.gz) = 96701dce963575ff31d2cb8b7d9d19a51fcda755
+RMD160 (rustc-1.53.0-src.tar.gz) = ddf896b019fc7430b48dca6486aa9ccf849cf64b
+SHA512 (rustc-1.53.0-src.tar.gz) = d7c1e30e6235d66187b8044c7ce120686b19c9caccf40f8204ce7b980efb0d0efb9c6775f468d181f51604d4ae7e872a24d1d720524cf243eedcadd459169877
+Size (rustc-1.53.0-src.tar.gz) = 167881972 bytes
 SHA1 (patch-compiler_rustc__codegen__ssa_src_back_linker.rs) = ce864839b3bce0755b950d914164e707a3f4eb68
 SHA1 (patch-compiler_rustc__llvm_build.rs) = b5157022f0f1942ae2db1ab78145af1526780b18
 SHA1 (patch-compiler_rustc__target_src_spec_aarch64__be__unknown__netbsd.rs) = d7cf546dc82bb851c94733b0c2dae988393503b3
 SHA1 (patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs) = 8016df2ef0cf1e82b62d18ef156da9806988cb79
 SHA1 (patch-compiler_rustc__target_src_spec_mod.rs) = 6edc875ba9ffbc1a86b30c679eb1110ba3c6c709
-SHA1 (patch-compiler_rustc__target_src_spec_netbsd__base.rs) = b0254ca5a13deb345716338b01f04f0a063a3902
+SHA1 (patch-compiler_rustc__target_src_spec_netbsd__base.rs) = f6bf754e10d615781422d1fb6a689aa67c15d6fb
 SHA1 (patch-compiler_rustc__target_src_spec_solaris__base.rs) = f0b41a3a5685ae33d037f8ded0b1fa6f1acb0867
 SHA1 (patch-library_backtrace_crates_backtrace-sys_src_libbacktrace_configure) = 5dc1cfc843894156b513c86453db5032917a5529
 SHA1 (patch-library_std_src_sys_unix_mod.rs) = 927b03f3f34bd21a81bd2a8b6bcf30fe241e2d32
@@ -136,6 +136,6 @@ SHA1 (patch-vendor_lzma-sys_config.h) = b654c7e129fa02697734bc87173f89b3056a5437
 SHA1 (patch-vendor_net2_src_ext.rs) = 5c34f3eaaa0589eefe14d374d34fadd4900565fd
 SHA1 (patch-vendor_openssl-src_src_lib.rs) = 67e5352830dd1de9cfb809df55d2dc702f371171
 SHA1 (patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs) = 4e86aec4c89db9a331950a12f8ec7b8aaa50eed7
-SHA1 (patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs) = e3feaf809eb568c3fb34b5880cfa45ec4d71238b
+SHA1 (patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs) = 6abed2c934b546f9b92504e3db49f9bd63aa19f8
 SHA1 (patch-vendor_stacker_src_lib.rs) = 2f4db9971c0558ec7034052c810b8c8be80c4ae3
 SHA1 (patch-vendor_target-lexicon_src_targets.rs) = b0ac8638b50c4ff6d159118fd893ef6ded7bba5c
diff --git a/rust/options.mk b/rust/options.mk
index 6495aa3de3..a68f814ca5 100644
--- a/rust/options.mk
+++ b/rust/options.mk
@@ -30,6 +30,8 @@ PKG_SUGGESTED_OPTIONS+=	rust-cargo-static
 BUILD_DEPENDS+=	cmake-[0-9]*:../../devel/cmake
 .include "../../devel/cmake/buildlink3.mk"
 .else
+# Rust 1.53.0 depends on llvm >= 10.0
+BUILDLINK_API_DEPENDS.llvm+=    llvm>=10.0
 .include "../../lang/llvm/buildlink3.mk"
 CONFIGURE_ARGS+=	--enable-llvm-link-shared
 CONFIGURE_ARGS+=	--llvm-root=${BUILDLINK_PREFIX.llvm}
diff --git a/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs b/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
index 8506d30539..30f7a19836 100644
--- a/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
+++ b/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
@@ -2,8 +2,8 @@ $NetBSD$
 
 Add an i586 / pentium variant, in an effort to support AMD Geode etc.
 
---- compiler/rustc_target/src/speci586_unknown_netbsd.rs.orig	2021-04-11 00:12:43.084770395 +0200
-+++ compiler/rustc_target/src/spec/i586_unknown_netbsd.rs	2021-04-11 00:15:29.313073646 +0200
+--- compiler/rustc_target/src/spec/i586_unknown_netbsd.rs.orig	2021-06-19 17:28:44.197224530 +0000
++++ compiler/rustc_target/src/spec/i586_unknown_netbsd.rs
 @@ -0,0 +1,20 @@
 +use crate::spec::{LinkerFlavor, StackProbeType, Target, TargetOptions};
 +
@@ -11,7 +11,7 @@ Add an i586 / pentium variant, in an effort to support AMD Geode etc.
 +    let mut base = super::netbsd_base::opts();
 +    base.cpu = "pentium".to_string();
 +    base.max_atomic_width = Some(64);
-+    base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-m32".to_string());
++    base.pre_link_args.entry(LinkerFlavor::Gcc).or_default().push("-m32".to_string());
 +    // don't use probe-stack=inline-asm until rust-lang/rust#83139 is resolved.
 +    base.stack_probes = StackProbeType::Call;
 +
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
index 2cb3d9ebcb..e9bcd7bcdd 100644
--- a/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs
+++ b/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs
@@ -3,14 +3,21 @@ $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	2021-02-10 17:36:44.000000000 +0000
+--- compiler/rustc_target/src/spec/netbsd_base.rs.orig	2021-06-17 03:53:51.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(),
+@@ -1,6 +1,14 @@
+-use crate::spec::{RelroLevel, TargetOptions};
++use crate::spec::{LinkArgs, LinkerFlavor, RelroLevel, TargetOptions};
+ 
+ pub fn opts() -> TargetOptions {
++    let mut args = LinkArgs::new();
++    args.insert (
++        LinkerFlavor::Gcc,
++        vec![
 +            // For the benefit of powerpc, when libatomic-links is installed,
 +            "-Wl,-L@PREFIX@/lib/libatomic".to_string(),
-         ],
-     );
- 
++        ],
++    );
+     TargetOptions {
+         os: "netbsd".to_string(),
+         dynamic_linking: true,
diff --git a/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs b/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs
index add609db5e..94c31296a2 100644
--- a/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs
+++ b/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs
@@ -4,8 +4,8 @@ Add aarch64_be NetBSD target.
 
 --- vendor/rustc-ap-rustc_target/src/spec/mod.rs.orig	2021-03-23 16:54:53.000000000 +0000
 +++ vendor/rustc-ap-rustc_target/src/spec/mod.rs
-@@ -695,6 +695,7 @@ supported_targets! {
-     ("x86_64-unknown-openbsd", x86_64_unknown_openbsd),
+@@ -777,6 +777,7 @@ supported_targets! {
+     ("powerpc-unknown-openbsd", powerpc_unknown_openbsd),
  
      ("aarch64-unknown-netbsd", aarch64_unknown_netbsd),
 +    ("aarch64_be-unknown-netbsd", aarch64_be_unknown_netbsd),



Home | Main Index | Thread Index | Old Index