Skip to content

Commit 4bbd854

Browse files
committed
Update lang/rust to version 1.51.0.
Pkgsrc changes: * Add support for the big-endian arm64 NetBSD target (aarch64_be). * On NetBSD/i386, use the i586 (pentium) bootstrap kit variant in preference to i686. * Adjust patches, re-compute line offsets, re-compute crate checksums. * Remove a patch which was either integrated upstream and/or no longer applies. * Bump bootstraps to 1.50.0. * Move conditionals until after bsd.prefs.mk so that they work... * Default to "dist" build target if cross-compiling, but allow also to override via rust.BUILD_TARGET. * Allow overriding MAKE_JOBS_SAFE via rust.MAKE_JOBS_SAFE if you want a different trade-off between occasional breakage and performance. * Adjust platform.mk according to work already done in wip/rust/ * Add a patch to optimize the install.sh script used to install binary bootstraps to not do so many forks; use case/esac and parameter expansion instead of grep, sed and cut. * Drop building documentation for the binary bootstrap kits. This will also impact the lang/rust-bin package. For full documentation, build or install lang/rust as a package. Upstream changes: Version 1.51.0 (2021-03-25) ============================ Language -------- - [You can now parameterize items such as functions, traits, and `struct`s by constant values in addition to by types and lifetimes.][79135] Also known as "const generics" E.g. you can now write the following. Note: Only values of primitive integers, `bool`, or `char` types are currently permitted. ```rust struct GenericArray<T, const LENGTH: usize> { inner: [T; LENGTH] } impl<T, const LENGTH: usize> GenericArray<T, LENGTH> { const fn last(&self) -> Option<&T> { if LENGTH == 0 { None } else { Some(&self.inner[LENGTH - 1]) } } } ``` Compiler -------- - [Added the `-Csplit-debuginfo` codegen option for macOS platforms.][79570] This option controls whether debug information is split across multiple files or packed into a single file. **Note** This option is unstable on other platforms. - [Added tier 3\* support for `aarch64_be-unknown-linux-gnu`, `aarch64-unknown-linux-gnu_ilp32`, and `aarch64_be-unknown-linux-gnu_ilp32` targets.][81455] - [Added tier 3 support for `i386-unknown-linux-gnu` and `i486-unknown-linux-gnu` targets.][80662] - [The `target-cpu=native` option will now detect individual features of CPUs.][80749] \* Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support. Libraries --------- - [`Box::downcast` is now also implemented for any `dyn Any + Send + Sync` object.][80945] - [`str` now implements `AsMut<str>`.][80279] - [`u64` and `u128` now implement `From<char>`.][79502] - [`Error` is now implemented for `&T` where `T` implements `Error`.][75180] - [`Poll::{map_ok, map_err}` are now implemented for `Poll<Option<Result<T,E>>>`.][80968] - [`unsigned_abs` is now implemented for all signed integer types.][80959] - [`io::Empty` now implements `io::Seek`.][78044] - [`rc::Weak<T>` and `sync::Weak<T>`'s methods such as `as_ptr` are now implemented for `T: ?Sized` types.][80764] - [`Div` and `Rem` by their `NonZero` variant is now implemented for all unsigned integers.][79134] Stabilized APIs --------------- - [`Arc::decrement_strong_count`] - [`Arc::increment_strong_count`] - [`Once::call_once_force`] - [`Peekable::next_if_eq`] - [`Peekable::next_if`] - [`Seek::stream_position`] - [`array::IntoIter`] - [`panic::panic_any`] - [`ptr::addr_of!`] - [`ptr::addr_of_mut!`] - [`slice::fill_with`] - [`slice::split_inclusive_mut`] - [`slice::split_inclusive`] - [`slice::strip_prefix`] - [`slice::strip_suffix`] - [`str::split_inclusive`] - [`sync::OnceState`] - [`task::Wake`] - [`VecDeque::range`] - [`VecDeque::range_mut`] Cargo ----- - [Added the `split-debuginfo` profile option to control the -Csplit-debuginfo codegen option.][cargo/9112] - [Added the `resolver` field to `Cargo.toml` to enable the new feature resolver and CLI option behavior.][cargo/8997] Version 2 of the feature resolver will try to avoid unifying features of dependencies where that unification could be unwanted. Such as using the same dependency with a `std` feature in a build scripts and proc-macros, while using the `no-std` feature in the final binary. See the [Cargo book documentation][feature-resolver@2.0] for more information on the feature. Rustdoc ------- - [Rustdoc will now include documentation for methods available from _nested_ `Deref` traits.][80653] - [You can now provide a `--default-theme` flag which sets the default theme to use for documentation.][79642] Various improvements to intra-doc links: - [You can link to non-path primitives such as `slice`.][80181] - [You can link to associated items.][74489] - [You can now include generic parameters when linking to items, like `Vec<T>`.][76934] Misc ---- - [You can now pass `--include-ignored` to tests (e.g. with `cargo test -- --include-ignored`) to include testing tests marked `#[ignore]`.][80053] Compatibility Notes ------------------- - [WASI platforms no longer use the `wasm-bindgen` ABI, and instead use the wasm32 ABI.][79998] - [`rustc` no longer promotes division, modulo and indexing operations to `const` that could fail.][80579] - [The minimum version of glibc for the following platforms has been bumped to version 2.31 for the distributed artifacts.][81521] - `armv5te-unknown-linux-gnueabi` - `sparc64-unknown-linux-gnu` - `thumbv7neon-unknown-linux-gnueabihf` - `armv7-unknown-linux-gnueabi` - `x86_64-unknown-linux-gnux32` - [`atomic::spin_loop_hint` has been deprecated.][80966] It's recommended to use `hint::spin_loop` instead. Internal Only ------------- - [Consistently avoid constructing optimized MIR when not doing codegen][80718] [79135]: rust-lang/rust#79135 [74489]: rust-lang/rust#74489 [76934]: rust-lang/rust#76934 [79570]: rust-lang/rust#79570 [80181]: rust-lang/rust#80181 [79642]: rust-lang/rust#79642 [80945]: rust-lang/rust#80945 [80279]: rust-lang/rust#80279 [80053]: rust-lang/rust#80053 [79502]: rust-lang/rust#79502 [75180]: rust-lang/rust#75180 [79135]: rust-lang/rust#79135 [81521]: rust-lang/rust#81521 [80968]: rust-lang/rust#80968 [80959]: rust-lang/rust#80959 [80718]: rust-lang/rust#80718 [80653]: rust-lang/rust#80653 [80579]: rust-lang/rust#80579 [79998]: rust-lang/rust#79998 [78044]: rust-lang/rust#78044 [81455]: rust-lang/rust#81455 [80764]: rust-lang/rust#80764 [80749]: rust-lang/rust#80749 [80662]: rust-lang/rust#80662 [79134]: rust-lang/rust#79134 [80966]: rust-lang/rust#80966 [cargo/8997]: rust-lang/cargo#8997 [cargo/9112]: rust-lang/cargo#9112 [feature-resolver@2.0]: https://doc.rust-lang.org/nightly/cargo/reference/features.html#feature-resolver-version-2 [`Once::call_once_force`]: https://doc.rust-lang.org/stable/std/sync/struct.Once.html#method.call_once_force [`sync::OnceState`]: https://doc.rust-lang.org/stable/std/sync/struct.OnceState.html [`panic::panic_any`]: https://doc.rust-lang.org/stable/std/panic/fn.panic_any.html [`slice::strip_prefix`]: https://doc.rust-lang.org/stable/std/primitive.slice.html#method.strip_prefix [`slice::strip_suffix`]: https://doc.rust-lang.org/stable/std/primitive.slice.html#method.strip_prefix [`Arc::increment_strong_count`]: https://doc.rust-lang.org/nightly/std/sync/struct.Arc.html#method.increment_strong_count [`Arc::decrement_strong_count`]: https://doc.rust-lang.org/nightly/std/sync/struct.Arc.html#method.decrement_strong_count [`slice::fill_with`]: https://doc.rust-lang.org/nightly/std/primitive.slice.html#method.fill_with [`ptr::addr_of!`]: https://doc.rust-lang.org/nightly/std/ptr/macro.addr_of.html [`ptr::addr_of_mut!`]: https://doc.rust-lang.org/nightly/std/ptr/macro.addr_of_mut.html [`array::IntoIter`]: https://doc.rust-lang.org/nightly/std/array/struct.IntoIter.html [`slice::split_inclusive`]: https://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_inclusive [`slice::split_inclusive_mut`]: https://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_inclusive_mut [`str::split_inclusive`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_inclusive [`task::Wake`]: https://doc.rust-lang.org/nightly/std/task/trait.Wake.html [`Seek::stream_position`]: https://doc.rust-lang.org/nightly/std/io/trait.Seek.html#method.stream_position [`Peekable::next_if`]: https://doc.rust-lang.org/nightly/std/iter/struct.Peekable.html#method.next_if [`Peekable::next_if_eq`]: https://doc.rust-lang.org/nightly/std/iter/struct.Peekable.html#method.next_if_eq [`VecDeque::range`]: https://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.range [`VecDeque::range_mut`]: https://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.range_mut
1 parent 17305d9 commit 4bbd854

31 files changed

+591
-313
lines changed

lang/rust/Makefile

Lines changed: 60 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# $NetBSD: Makefile,v 1.237 2021/05/24 19:52:35 wiz Exp $
1+
# $NetBSD: Makefile,v 1.238 2021/05/26 09:21:39 he Exp $
22

3-
DISTNAME= rustc-1.50.0-src
3+
DISTNAME= rustc-1.51.0-src
44
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
5-
PKGREVISION= 3
65
CATEGORIES= lang
76
MASTER_SITES= https://static.rust-lang.org/dist/
87

@@ -19,7 +18,7 @@ GCC_REQD+= 5
1918
USE_GCC_RUNTIME= yes
2019
USE_LANGUAGES= c c++11
2120
USE_LIBTOOL= yes
22-
USE_TOOLS+= bash ggrep gmake perl:build pkg-config
21+
USE_TOOLS+= bash grep gmake perl:build pkg-config
2322

2423
# The NetBSD bootstraps are built for NetBSD 8 (because rust doesn't
2524
# build on 7). Mark earlier versions as broken.
@@ -46,20 +45,6 @@ CONFIGURE_ARGS+= --disable-dist-src
4645
CONFIGURE_ARGS+= --disable-llvm-static-stdcpp
4746
CONFIGURE_ARGS+= --disable-ninja
4847

49-
# Include (optional) settings to cross-build rust
50-
.include "cross.mk"
51-
52-
.if !empty(rust.BUILD_TARGET)
53-
BUILD_TARGET= ${rust.BUILD_TARGET}
54-
.endif
55-
56-
.if !empty(TARGET)
57-
# Use "dist" build target for cross compile of bootstrap
58-
BUILD_TARGET?= dist
59-
.else
60-
BUILD_TARGET?= build
61-
.endif
62-
6348
# Getting RPATH with $ORIGIN into bootstrap may be troublesome, so
6449
# uncommenting the LD_LIBRARY_PATH setting may be required to run
6550
# the bootstrap
@@ -84,6 +69,35 @@ CHECK_SSP_SUPPORTED= no
8469

8570
.include "../../mk/bsd.prefs.mk"
8671

72+
# Allow overriding MAKE_JOBS_SAFE
73+
# some may chose to mostly build faster,
74+
# and deal with any failures due to deadlocks
75+
.if !empty(rust.MAKE_JOBS_SAFE)
76+
. if ${rust.MAKE_JOBS_SAFE:tl} == "yes"
77+
MAKE_JOBS_SAFE= yes
78+
. endif
79+
.endif
80+
81+
.if !empty(rust.BUILD_TARGET)
82+
BUILD_TARGET= ${rust.BUILD_TARGET}
83+
.endif
84+
85+
# Include (optional) settings to cross-build rust
86+
.include "cross.mk"
87+
88+
.if !empty(TARGET)
89+
# Use "dist" build target for cross compile of bootstrap
90+
BUILD_TARGET?= dist
91+
.else
92+
BUILD_TARGET?= build
93+
.endif
94+
95+
.if ${BUILD_TARGET} == "dist"
96+
# Reduce size of bootstrap:
97+
CONFIGURE_ARGS+= --disable-docs
98+
CONFIGURE_ARGS+= --disable-compiler-docs
99+
.endif
100+
87101
.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) || \
88102
!empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf) || \
89103
!empty(TARGET:Marmv7-unknown-netbsd-eabihf)
@@ -135,7 +149,7 @@ CONFIGURE_ARGS+= --set llvm.targets="ARM;X86"
135149
# If we aren't on 9-current, and are on 8.x or 9.x, avoid parallel.
136150
# \todo Consider avoiding setting this on netbsd-9 past the fix.
137151
. if ${MACHINE_PLATFORM:MNetBSD-[1-9].*} && !${MACHINE_PLATFORM:MNetBSD-9.99.*}
138-
MAKE_JOBS_SAFE= no
152+
MAKE_JOBS_SAFE?= no
139153
. endif
140154

141155
# Open PRs
@@ -161,55 +175,55 @@ BUILDLINK_TRANSFORM.NetBSD+= rm:-Wl,--enable-new-dtags
161175
DISTFILES:= ${DEFAULT_DISTFILES}
162176

163177
.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) || make(distinfo) || make (makesum) || make(mdi)
164-
RUST_STAGE0_VER= 1.49.0
178+
RUST_STAGE0_VER= 1.50.0
165179
RUST_ARCH:= aarch64-apple-darwin
166180
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
167181
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
168182
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
169183
pre-build-fix:
170184
.endif
171185
.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
172-
RUST_STAGE0_VER= 1.49.0
186+
RUST_STAGE0_VER= 1.50.0
173187
RUST_ARCH:= x86_64-apple-darwin
174188
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
175189
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
176190
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
177191
pre-build-fix:
178192
.endif
179193
.if !empty(MACHINE_PLATFORM:MLinux-*-aarch64) || make(distinfo) || make (makesum) || make(mdi)
180-
RUST_STAGE0_VER= 1.49.0
194+
RUST_STAGE0_VER= 1.50.0
181195
RUST_ARCH:= aarch64-unknown-linux-gnu
182196
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
183197
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
184198
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
185199
pre-build-fix:
186200
.endif
187201
.if !empty(MACHINE_PLATFORM:MLinux-*-earmv6hf) || make(distinfo) || make (makesum) || make(mdi)
188-
RUST_STAGE0_VER= 1.49.0
202+
RUST_STAGE0_VER= 1.50.0
189203
RUST_ARCH:= arm-unknown-linux-gnueabihf
190204
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
191205
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
192206
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
193207
pre-build-fix:
194208
.endif
195209
.if !empty(MACHINE_PLATFORM:MLinux-*-earmv7hf) || make(distinfo) || make (makesum) || make(mdi)
196-
RUST_STAGE0_VER= 1.49.0
210+
RUST_STAGE0_VER= 1.50.0
197211
RUST_ARCH:= armv7-unknown-linux-gnueabihf
198212
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
199213
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
200214
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
201215
pre-build-fix:
202216
.endif
203217
.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo) || make (makesum) || make(mdi)
204-
RUST_STAGE0_VER= 1.49.0
218+
RUST_STAGE0_VER= 1.50.0
205219
RUST_ARCH:= i686-unknown-linux-gnu
206220
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
207221
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
208222
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
209223
pre-build-fix:
210224
.endif
211225
.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
212-
RUST_STAGE0_VER= 1.49.0
226+
RUST_STAGE0_VER= 1.50.0
213227
RUST_ARCH:= x86_64-unknown-linux-gnu
214228
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
215229
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -222,7 +236,7 @@ pre-build-fix:
222236
# x86_64-sun-solaris bootstrap and comment out the overrides.
223237
#
224238
.if !empty(MACHINE_PLATFORM:MSunOS-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
225-
RUST_STAGE0_VER= 1.49.0
239+
RUST_STAGE0_VER= 1.50.0
226240
RUST_ARCH:= x86_64-unknown-illumos
227241
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
228242
SITES.${RUST_STAGE0}= https://us-east.manta.joyent.com/pkgsrc/public/pkg-bootstraps/
@@ -236,16 +250,16 @@ CONFIGURE_ARGS+= --target=${RUST_ARCH}
236250
pre-build-fix:
237251
.endif
238252
.if !empty(MACHINE_PLATFORM:MFreeBSD-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
239-
RUST_STAGE0_VER= 1.49.0
253+
RUST_STAGE0_VER= 1.50.0
240254
RUST_ARCH:= x86_64-unknown-freebsd
241255
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
242256
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
243257
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
244258
pre-build-fix:
245259
.endif
246260
.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || make(distinfo) || make (makesum) || make(mdi)
247-
RUST_STAGE0_VER= 1.49.0
248-
RUST_ARCH= i686-unknown-netbsd
261+
RUST_STAGE0_VER= 1.50.0
262+
RUST_ARCH= i586-unknown-netbsd
249263
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
250264
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
251265
SITES.${RUST_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
@@ -261,15 +275,15 @@ pre-build-fix:
261275
${TOOLS_PLATFORM.paxctl} +am ${WRKDIR}/rust-bootstrap/bin/rustc
262276
.endif
263277
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
264-
RUST_STAGE0_VER= 1.49.0
278+
RUST_STAGE0_VER= 1.50.0
265279
RUST_ARCH= x86_64-unknown-netbsd
266280
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
267281
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
268282
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
269283
pre-build-fix:
270284
.endif
271285
.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) || make(distinfo) || make (makesum) || make(mdi)
272-
RUST_STAGE0_VER= 1.49.0
286+
RUST_STAGE0_VER= 1.50.0
273287
RUST_ARCH= powerpc-unknown-netbsd
274288

275289
# Cross-built against NetBSD 9.0
@@ -293,7 +307,7 @@ SITES.${RUST_STD_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
293307
pre-build-fix:
294308
.endif
295309
.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) || make(distinfo) || make (makesum) || make(mdi)
296-
RUST_STAGE0_VER= 1.49.0
310+
RUST_STAGE0_VER= 1.50.0
297311
RUST_ARCH= aarch64-unknown-netbsd
298312
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
299313
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -303,7 +317,7 @@ SITES.${RUST_STD_STAGE0}= ${MASTER_SITE_LOCAL:=rust/}
303317
pre-build-fix:
304318
.endif
305319
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) || make(distinfo) || make (makesum) || make(mdi)
306-
RUST_STAGE0_VER= 1.49.0
320+
RUST_STAGE0_VER= 1.50.0
307321
RUST_ARCH= sparc64-unknown-netbsd
308322
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
309323
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -314,7 +328,7 @@ pre-build-fix:
314328
.endif
315329
.if !empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf) || make(distinfo) || make (makesum) || make(mdi)
316330
RUST_ARCH= armv7-unknown-netbsd-eabihf
317-
RUST_STAGE0_VER= 1.49.0
331+
RUST_STAGE0_VER= 1.50.0
318332
RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
319333
RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
320334
DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
@@ -354,8 +368,16 @@ SUBST_VARS.rpath= PREFIX
354368
# updating and verification.
355369
#
356370
CKSUM_CRATES+= vendor/libc
357-
CKSUMS+= 0134ce769d06b1b1f50ad15d1aa7bd8d44bcd2f66c6318dd906de8bc4a4044c7
358-
CKSUMS+= 1107d18986be8af262f7a7c14761a9faf0228dc8a773379b9d7e8d2f711b3f37
371+
CKSUMS+= 8d7ddc8dd25a9404f9181a49438d9506c676cfd4b6fa21dbe5c1f9969abc4b91
372+
CKSUMS+= f147be95b04ea1303171dff46c5a66b08cd47ccd0a4c346d5bcec7a8aaac3fc4
373+
374+
CKSUM_CRATES+= vendor/cc-1.0.60
375+
CKSUMS+= 903c5f2f5dd0cc7d04f99f605a95e6abde8b38156fd4e73eefc58493f55a4e5a
376+
CKSUMS+= e45520f4dda532240e4ec28af550fcb76f44090361f273bebcf0d07dc0807885
377+
378+
CKSUM_CRATES+= vendor/rustc-ap-rustc_target
379+
CKSUMS+= ab83c62fab6927a47fc3d15c02eec41174ea9f3e8dce5c53adab613d48918bc5
380+
CKSUMS+= 01f50edc3845bd03459d525444150d03f57cdb479de2668a71c1538adf3d340a
359381

360382
CKSUM_CRATES+= vendor/lzma-sys
361383
CKSUMS+= 6fd5e9245db34c6f557b8bfcaf03db82fc88c3b06dbfbb5f03b2bcd138983ef9
@@ -371,7 +393,7 @@ CKSUMS+= 9e146a847e1f726fa7d7eae224aaa925030287f99770f950a012cb398e088d12
371393

372394
CKSUM_CRATES+= vendor/openssl-src
373395
CKSUMS+= 03dcdaac7de880b860ecfe859ba2ac3e46c8f46a7bf948aa674147eebee421b0
374-
CKSUMS+= 90456c77ade1702fbf116d9cdc57c0c8dba5f059f591d3dffc9b54c7a7088be8
396+
CKSUMS+= 580a24c5a739e688e488498b8a34e27a3284c3160e6d3aaff711a80774c35c48
375397

376398
SUBST_CLASSES+= cksum
377399
SUBST_STAGE.cksum= pre-configure

lang/rust/cross.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: cross.mk,v 1.5 2021/04/20 11:54:32 he Exp $
1+
# $NetBSD: cross.mk,v 1.6 2021/05/26 09:21:39 he Exp $
22

33
# These settings may be used to cross-build rust.
44
#
@@ -17,6 +17,7 @@
1717
#CROSS_ROOT= /u/macppc
1818
#CROSS_ROOT= /u/9.0-macppc
1919
#CROSS_ROOT= /u/evbarm64
20+
#CROSS_ROOT= /u/evbarm64eb
2021
#CROSS_ROOT= /u/i386
2122
#CROSS_ROOT= /
2223
#MAKE_ENV+= CROSS_ROOT=${CROSS_ROOT}
@@ -27,6 +28,7 @@
2728
#GNU_CROSS_TARGET= i486--netbsdelf
2829
#GNU_CROSS_TARGET= powerpc--netbsd
2930
#GNU_CROSS_TARGET= aarch64--netbsd
31+
#GNU_CROSS_TARGET= aarch64_be--netbsd
3032
#MAKE_ENV+= GNU_CROSS_TARGET=${GNU_CROSS_TARGET}
3133

3234
# To cross-build rust, you need to specify
@@ -37,6 +39,7 @@
3739
#TARGET= sparc64-unknown-netbsd
3840
#TARGET= powerpc-unknown-netbsd
3941
#TARGET= aarch64-unknown-netbsd
42+
#TARGET= aarch64_be-unknown-netbsd
4043
#TARGET= i686-unknown-netbsd
4144
#TARGET= i586-unknown-netbsd
4245
#

0 commit comments

Comments
 (0)