pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust rust: Update to 1.54.
details: https://anonhg.NetBSD.org/pkgsrc/rev/95671bd0a1cf
branches: trunk
changeset: 458139:95671bd0a1cf
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Sep 10 15:09:32 2021 +0000
description:
rust: Update to 1.54.
Requested by gdt@, taken from wip, any mismerges are mine and I'll follow up.
While here pull in an additional fix from newer wip to disable the docs (they
are absolutely huge and not all that useful).
Version 1.54.0 (2021-07-29)
============================
Language
-----------------------
- [You can now use macros for values in built-in attribute macros.][83366]
While a seemingly minor addition on its own, this enables a lot of
powerful functionality when combined correctly. Most notably you can
now include external documentation in your crate by writing the following.
```rust
#![doc = include_str!("README.md")]
```
You can also use this to include auto-generated modules:
```rust
#[path = concat!(env!("OUT_DIR"), "/generated.rs")]
mod generated;
```
- [You can now cast between unsized slice types (and types which contain
unsized slices) in `const fn`.][85078]
- [You can now use multiple generic lifetimes with `impl Trait` where the
lifetimes don't explicitly outlive another.][84701] In code this means
that you can now have `impl Trait<'a, 'b>` where as before you could
only have `impl Trait<'a, 'b> where 'b: 'a`.
Compiler
-----------------------
- [Rustc will now search for custom JSON targets in
`/lib/rustlib/<target-triple>/target.json` where `/` is the "sysroot"
directory.][83800] You can find your sysroot directory by running
`rustc --print sysroot`.
- [Added `wasm` as a `target_family` for WebAssembly platforms.][84072]
- [You can now use `#[target_feature]` on safe functions when targeting
WebAssembly platforms.][84988]
- [Improved debugger output for enums on Windows MSVC platforms.][85292]
- [Added tier 3\* support for `bpfel-unknown-none`
and `bpfeb-unknown-none`.][79608]
Libraries
-----------------------
- [`panic::panic_any` will now `#[track_caller]`.][85745]
- [Added `OutOfMemory` as a variant of `io::ErrorKind`.][84744]
- [ `proc_macro::Literal` now implements `FromStr`.][84717]
- [The implementations of vendor intrinsics in core::arch have been
significantly refactored.][83278] The main user-visible changes are
a 50% reduction in the size of libcore.rlib and stricter validation
of constant operands passed to intrinsics. The latter is technically
a breaking change, but allows Rust to more closely match the C vendor
intrinsics API.
Stabilized APIs
---------------
- [`BTreeMap::into_keys`]
- [`BTreeMap::into_values`]
- [`HashMap::into_keys`]
- [`HashMap::into_values`]
- [`arch::wasm32`]
- [`VecDeque::binary_search`]
- [`VecDeque::binary_search_by`]
- [`VecDeque::binary_search_by_key`]
- [`VecDeque::partition_point`]
Cargo
-----
- [Added the `--prune <spec>` option to `cargo-tree` to remove a package from
the dependency graph.][cargo/9520]
- [Added the `--depth` option to `cargo-tree` to print only to a certain depth
in the tree ][cargo/9499]
- [Added the `no-proc-macro` value to `cargo-tree --edges` to hide procedural
macro dependencies.][cargo/9488]
- [A new environment variable named `CARGO_TARGET_TMPDIR` is available.][cargo/9375]
This variable points to a directory that integration tests and benches
can use as a "scratchpad" for testing filesystem operations.
Compatibility Notes
-------------------
- [Mixing Option and Result via `?` is no longer permitted in closures for inferred types.][86831]
- [Previously unsound code is no longer permitted where different constructors in branches
could require different lifetimes.][85574]
- As previously mentioned the [`std::arch` instrinsics now uses stricter const checking][83278]
than before and may reject some previously accepted code.
- [`i128` multiplication on Cortex M0+ platforms currently unconditionally causes overflow
when compiled with `codegen-units = 1`.][86063]
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 `~W~F` or `~_~@`. 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]
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`]
- [`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].
- [The added `BITS` constant may conflict with external definitions.][85667]
In particular, this was known to be a problem in the `lexical-core` crate,
but they have published fixes for semantic versions 0.4 through 0.7. To
update this dependency alone, use `cargo update -p lexical-core`.
- Incremental compilation remains off by default, unless one uses the
`RUSTC_FORCE_INCREMENTAL=1` environment variable added in 1.52.1.
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]
diffstat:
lang/rust/Makefile | 95 +-
lang/rust/distinfo | 288 +++++----
lang/rust/patches/patch-compiler_rustc__codegen__ssa_src_back_linker.rs | 6 +-
lang/rust/patches/patch-compiler_rustc__llvm_build.rs | 6 +-
lang/rust/patches/patch-compiler_rustc__target_src_spec_aarch64__be__unknown__netbsd.rs | 2 +-
lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs | 8 +-
lang/rust/patches/patch-compiler_rustc__target_src_spec_mod.rs | 2 +-
lang/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs | 33 +-
lang/rust/patches/patch-compiler_rustc__target_src_spec_solaris__base.rs | 8 +-
lang/rust/patches/patch-library_backtrace_crates_backtrace-sys_src_libbacktrace_configure | 2 +-
lang/rust/patches/patch-library_std_src_sys_unix_mod.rs | 2 +-
lang/rust/patches/patch-library_std_src_sys_unix_thread.rs | 2 +-
lang/rust/patches/patch-library_unwind_build.rs | 2 +-
lang/rust/patches/patch-src_bootstrap_bootstrap.py | 2 +-
lang/rust/patches/patch-src_bootstrap_builder.rs | 2 +-
lang/rust/patches/patch-src_bootstrap_compile.rs | 2 +-
lang/rust/patches/patch-src_bootstrap_lib.rs | 2 +-
lang/rust/patches/patch-src_llvm-project_llvm_CMakeLists.txt | 2 +-
lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake | 4 +-
lang/rust/patches/patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h | 2 +-
lang/rust/patches/patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h | 2 +-
lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp | 2 +-
lang/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs | 2 +-
lang/rust/patches/patch-src_tools_cargo_tests_testsuite_build.rs | 2 +-
lang/rust/patches/patch-src_tools_miri_cargo-miri_bin.rs | 14 +
lang/rust/patches/patch-src_tools_rls_rls_src_cmd.rs | 2 +-
lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs | 2 +-
lang/rust/patches/patch-src_tools_rust-installer_install-template.sh | 4 +-
lang/rust/patches/patch-vendor_cc-1.0.60_src_lib.rs | 15 -
lang/rust/patches/patch-vendor_cc_src_lib.rs | 8 +-
lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs | 2 +-
lang/rust/patches/patch-vendor_lzma-sys_config.h | 2 +-
lang/rust/patches/patch-vendor_openssl-src_src_lib.rs | 14 +-
lang/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs | 2 +-
lang/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs | 6 +-
lang/rust/patches/patch-vendor_stacker_src_lib.rs | 2 +-
lang/rust/patches/patch-vendor_target-lexicon_src_targets.rs | 2 +-
lang/rust/platform.mk | 2 +-
38 files changed, 293 insertions(+), 264 deletions(-)
diffs (truncated from 1083 to 300 lines):
diff -r d8dcdedad2cd -r 95671bd0a1cf lang/rust/Makefile
--- a/lang/rust/Makefile Fri Sep 10 15:08:21 2021 +0000
+++ b/lang/rust/Makefile Fri Sep 10 15:09:32 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.244 2021/09/03 09:28:04 jperkin Exp $
+# $NetBSD: Makefile,v 1.245 2021/09/10 15:09:32 jperkin Exp $
-DISTNAME= rustc-1.52.1-src
+DISTNAME= rustc-1.54.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
-PKGREVISION= 4
CATEGORIES= lang
MASTER_SITES= https://static.rust-lang.org/dist/
@@ -42,10 +41,15 @@
CONFIGURE_ARGS+= --enable-extended # Build and install cargo too.
CONFIGURE_ARGS+= --enable-rpath
CONFIGURE_ARGS+= --disable-codegen-tests
+CONFIGURE_ARGS+= --disable-docs
+CONFIGURE_ARGS+= --disable-compiler-docs
CONFIGURE_ARGS+= --disable-dist-src
CONFIGURE_ARGS+= --disable-llvm-static-stdcpp
CONFIGURE_ARGS+= --disable-ninja
+# Include (optional) settings to cross-build rust
+.include "cross.mk"
+
# Getting RPATH with $ORIGIN into bootstrap may be troublesome, so
# uncommenting the LD_LIBRARY_PATH setting may be required to run
# the bootstrap
@@ -58,6 +62,10 @@
# cargo defaults to using the number of available CPUs
MAKE_ENV+= CARGO_BUILD_JOBS=${_MAKE_JOBS_N}
+# MacOS X 10.7 is the oldest supported version. See
+# ${WRKSRC}/src/bootstrap/lib.rs
+MAKE_ENV.Darwin+= MACOSX_DEPLOYMENT_TARGET="10.7"
+
CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
UNLIMIT_RESOURCES+= cputime datasize virtualsize
@@ -83,9 +91,6 @@
BUILD_TARGET= ${rust.BUILD_TARGET}
.endif
-# Include (optional) settings to cross-build rust
-.include "cross.mk"
-
.if !empty(TARGET)
# Use "dist" build target for cross compile of bootstrap
BUILD_TARGET?= dist
@@ -93,12 +98,6 @@
BUILD_TARGET?= build
.endif
-.if ${BUILD_TARGET} == "dist"
-# Reduce size of bootstrap:
-CONFIGURE_ARGS+= --disable-docs
-CONFIGURE_ARGS+= --disable-compiler-docs
-.endif
-
.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) || \
!empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf) || \
!empty(TARGET:Marmv7-unknown-netbsd-eabihf)
@@ -176,7 +175,7 @@
DISTFILES:= ${DEFAULT_DISTFILES}
.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.51.0
+RUST_STAGE0_VER= 1.53.0
RUST_ARCH:= aarch64-apple-darwin
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -184,7 +183,7 @@
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.51.0
+RUST_STAGE0_VER= 1.53.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
@@ -192,7 +191,7 @@
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MLinux-*-aarch64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.51.0
+RUST_STAGE0_VER= 1.53.0
RUST_ARCH:= aarch64-unknown-linux-gnu
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -200,7 +199,7 @@
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MLinux-*-earmv6hf) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.51.0
+RUST_STAGE0_VER= 1.53.0
RUST_ARCH:= arm-unknown-linux-gnueabihf
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -208,7 +207,7 @@
pre-build-fix:
.endif
.if !empty(MACHINE_PLATFORM:MLinux-*-earmv7hf) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER= 1.51.0
+RUST_STAGE0_VER= 1.53.0
RUST_ARCH:= armv7-unknown-linux-gnueabihf
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -216,7 +215,7 @@
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.53.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
@@ -224,7 +223,7 @@
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.53.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
@@ -237,7 +236,7 @@
# 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.53.0
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/
@@ -251,7 +250,7 @@
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.53.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
@@ -259,7 +258,7 @@
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.53.0
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
@@ -277,7 +276,7 @@
${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.53.0
RUST_ARCH= x86_64-unknown-netbsd
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -285,7 +284,7 @@
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.53.0
RUST_ARCH= powerpc-unknown-netbsd
# Cross-built against NetBSD 9.0
@@ -309,7 +308,7 @@
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.53.0
RUST_ARCH= aarch64-unknown-netbsd
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -318,8 +317,18 @@
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.53.0
+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
+DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
+SITES.${RUST_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
+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.53.0
RUST_ARCH= sparc64-unknown-netbsd
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -330,7 +339,7 @@
.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.53.0
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
@@ -370,16 +379,16 @@
# 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/cc
+CKSUMS+= 20d349f8528f191a4cf04a5a42daaaa8085c4e00885c78456ebada92dc39b7fb
+CKSUMS+= 62b77767b4bd16a3e636025ab9966846d7c800fa51d602efe31be137f5633847
CKSUM_CRATES+= vendor/rustc-ap-rustc_target
-CKSUMS+= ab83c62fab6927a47fc3d15c02eec41174ea9f3e8dce5c53adab613d48918bc5
-CKSUMS+= 01f50edc3845bd03459d525444150d03f57cdb479de2668a71c1538adf3d340a
+CKSUMS+= 673ac3b6875d487ace59b01725d83d2fab4af60615d1f8edd95bf21295947433
+CKSUMS+= 5a8bae7d5b6feb07a75226ad061455298f05627086a3b444cb2a1a6272899d88
CKSUM_CRATES+= vendor/lzma-sys
CKSUMS+= 6fd5e9245db34c6f557b8bfcaf03db82fc88c3b06dbfbb5f03b2bcd138983ef9
@@ -394,8 +403,8 @@
CKSUMS+= 9e146a847e1f726fa7d7eae224aaa925030287f99770f950a012cb398e088d12
CKSUM_CRATES+= vendor/openssl-src
-CKSUMS+= 03dcdaac7de880b860ecfe859ba2ac3e46c8f46a7bf948aa674147eebee421b0
-CKSUMS+= 580a24c5a739e688e488498b8a34e27a3284c3160e6d3aaff711a80774c35c48
+CKSUMS+= 7de257c6ecb5d3ea0361ced4e0d9d4b2eb6d10abac3d78cd3a2a896e25e3221d
+CKSUMS+= 8d67b3b667a8aaf34be5ee69f9b5d1df5e0cb91d8571a7e4b48da111755ec662
SUBST_CLASSES+= cksum
SUBST_STAGE.cksum= pre-configure
@@ -410,10 +419,12 @@
set -e; \
if ${TEST} -e ${WRKDIR}/rust-${RUST_STAGE0_VER}-${RUST_ARCH}/install.sh \
-a ! -e ${RUST_BOOTSTRAP_PATH}/bin/rustc; then \
- cd ${WRKDIR}/rust-${RUST_STAGE0_VER}-${RUST_ARCH}; \
- ${TOOLS_BASH} ./install.sh --prefix=${RUST_BOOTSTRAP_PATH}; \
- cd ${WRKDIR}/rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}; \
- ${TOOLS_BASH} ./install.sh --prefix=${RUST_BOOTSTRAP_PATH}; \
+ cd ${WRKDIR}/rust-${RUST_STAGE0_VER}-${RUST_ARCH}; \
+ env ${MAKE_ENV} ${TOOLS_BASH} \
+ ./install.sh --prefix=${RUST_BOOTSTRAP_PATH}; \
+ cd ${WRKDIR}/rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}; \
+ env ${MAKE_ENV} ${TOOLS_BASH} \
+ ./install.sh --prefix=${RUST_BOOTSTRAP_PATH}; \
fi
.if ${OPSYS} == "NetBSD"
SDIR=${WRKDIR}/scripts; \
@@ -476,10 +487,6 @@
${SETENV} ${MAKE_ENV} ${INSTALL_ENV} \
${PYTHONBIN} ./x.py -v install -j ${_MAKE_JOBS_N}
-# MacOS X 10.7 is the oldest supported version. See
-# ${WRKSRC}/src/bootstrap/lib.rs
-MAKE_ENV.Darwin+= MACOSX_DEPLOYMENT_TARGET="10.7"
-
GENERATE_PLIST+= ${FIND} ${DESTDIR}${PREFIX} \( -type f -o -type l \) -print | \
${SED} -e 's,${DESTDIR}${PREFIX}/,,' | ${SORT} ;
diff -r d8dcdedad2cd -r 95671bd0a1cf lang/rust/distinfo
--- a/lang/rust/distinfo Fri Sep 10 15:08:21 2021 +0000
+++ b/lang/rust/distinfo Fri Sep 10 15:09:32 2021 +0000
@@ -1,140 +1,148 @@
-$NetBSD: distinfo,v 1.136 2021/06/13 12:19:16 he Exp $
+$NetBSD: distinfo,v 1.137 2021/09/10 15:09:32 jperkin Exp $
-SHA1 (rust-1.51.0-aarch64-apple-darwin.tar.gz) = 4780de680bb5641ee9e0554bf554c9774b77a3df
-RMD160 (rust-1.51.0-aarch64-apple-darwin.tar.gz) = 8bb65e59163f56afb82443c917cf2f0f34d1122b
-SHA512 (rust-1.51.0-aarch64-apple-darwin.tar.gz) = d0a5d23cab24db014303618e6babcbc5362a8dc243e806f1917246dce8b141bd07ce07ac73535940b1ca43599becc51677556bd32c20715cff7a39d61eb63424
-Size (rust-1.51.0-aarch64-apple-darwin.tar.gz) = 265367526 bytes
-SHA1 (rust-1.51.0-aarch64-unknown-linux-gnu.tar.gz) = 35bc1e69928f08472ed0b9de59aa82e038ac4320
-RMD160 (rust-1.51.0-aarch64-unknown-linux-gnu.tar.gz) = be4aa4765b5b32ed3967cd0a70606306a509a520
-SHA512 (rust-1.51.0-aarch64-unknown-linux-gnu.tar.gz) = 5a7caf19ebb865cd0d32b399b7e1883b4ef56312000c71011a03af6006dce045a2b4e9c5b4d2bee0bc803daa08b133b420548d33133b1cafa2c495461ad95c67
-Size (rust-1.51.0-aarch64-unknown-linux-gnu.tar.gz) = 352805576 bytes
-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-arm-unknown-linux-gnueabihf.tar.gz) = 064603919bf63e7754e93343ea1c256009c37f0b
-RMD160 (rust-1.51.0-arm-unknown-linux-gnueabihf.tar.gz) = 9a9516f79b799779c2111f69bdfcd04e005e34ea
-SHA512 (rust-1.51.0-arm-unknown-linux-gnueabihf.tar.gz) = 34285c4ea91e961db1b6670c332621d7bb8731b7c9682d029730c71eeb72c7eb6658728b111178dfcd15b9a803587cc36ed258736887971e2a7546f2c53d72ea
-Size (rust-1.51.0-arm-unknown-linux-gnueabihf.tar.gz) = 301971516 bytes
-SHA1 (rust-1.51.0-armv7-unknown-linux-gnueabihf.tar.gz) = a455eeebe43d554706bcdcc7a14f9c49d24498a9
-RMD160 (rust-1.51.0-armv7-unknown-linux-gnueabihf.tar.gz) = 4371c437b9d5cf70c04c8a03ef998ab8991ef50d
-SHA512 (rust-1.51.0-armv7-unknown-linux-gnueabihf.tar.gz) = 73d8a92d7ecba3fc0d4a54069c94253d30c2bb93836990407c6a75f2281e836442f08e89f665afaaccc4c05bfc6f8691bd784454089280bce2017bb65fb26138
-Size (rust-1.51.0-armv7-unknown-linux-gnueabihf.tar.gz) = 292904493 bytes
Home |
Main Index |
Thread Index |
Old Index