NetBSD Problem Report #54621

From john@anath.zia.io  Thu Oct 17 03:06:57 2019
Return-Path: <john@anath.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EA8397A246
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Oct 2019 03:06:56 +0000 (UTC)
Message-Id: <201910170016.x9H0GBEj026111@anath.zia.io>
Date: Thu, 17 Oct 2019 00:16:11 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: lang/rust fails on NetBSD 8.1 on earmv7hf
X-Send-Pr-Version: 3.95

>Number:         54621
>Category:       pkg
>Synopsis:       lang/rust fails on NetBSD 8.1 on earmv7hf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gdt
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 17 03:10:00 +0000 2019
>Closed-Date:    Sun Jan 03 20:52:25 +0000 2021
>Last-Modified:  Sat Nov 20 16:10:01 +0000 2021
>Originator:     John Klos
>Release:        NetBSD 8.1_STABLE
>Organization:

>Environment:


System: NetBSD anath.zia.io 8.1_STABLE NetBSD 8.1_STABLE (ANATH) #0: Tue Sep 17 17:14:17 UTC 2019 john@anath.zia.io:/usr/obj-evbarm/sys/arch/evbarm/compile/ANATH evbarm
Architecture: earmv7hf
Machine: evbarm
>Description:
lang/rust on earmv7hf NetBSD 8.1 fails with:

===> configure-message [rust-1.38.0] ===> Configuring for rust-1.38.0
=> Substituting "rpath" in src/bootstrap/bin/rustc.rs src/build_helper/lib.rs 
src/librustc_codegen_ssa/back/linker.rs
configure: processing command line
configure: 
configure: error: Option '--disable-debuginfo-tests' is not recognized
*** Error code 1


Commenting all the disable-debuginfo disables in Makefile then fails with:

error: failed to parse manifest at `/usr/pkgsrc/lang/rust/work/rustc-1.38.0-src/src/tools/miri/Cargo.toml`


>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->gdt
Responsible-Changed-By: gdt@NetBSD.org
Responsible-Changed-When: Fri, 12 Jun 2020 17:31:30 +0000
Responsible-Changed-Why:
Subscribing to replies.


State-Changed-From-To: open->feedback
State-Changed-By: gdt@NetBSD.org
State-Changed-When: Fri, 12 Jun 2020 17:31:30 +0000
State-Changed-Why:
rust has been updated since this PR; please either close or refresh symptom info


From: John Klos <john@ziaspace.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/54621 (lang/rust fails on NetBSD 8.1 on earmv7hf)
Date: Sat, 13 Jun 2020 22:14:33 +0000 (UTC)

 > rust has been updated since this PR; please either close or refresh symptom info

 Still NetBSD 8.1, earmv7hf, pkgsrc from 12-June-2020:

 running: /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build 
 --manifest-path 
 /usr/pkgsrc/lang/rust/work/rustc-1.43.1-src/src/bootstrap/Cargo.toml 
 --frozen
 error: failed to parse manifest at 
 `/usr/pkgsrc/lang/rust/work/rustc-1.43.1-src/src/tools/miri/Cargo.toml`

 Caused by:
    the `default-run` manifest key is unstable

 Caused by:
    feature `default-run` is required

 consider adding `cargo-features = ["default-run"]` to the manifest
 Traceback (most recent call last):
    File "./x.py", line 11, in <module>
      bootstrap.main()
    File 
 "/usr/pkgsrc/lang/rust/work/rustc-1.43.1-src/src/bootstrap/bootstrap.py", 
 line 957, in main
      bootstrap(help_triggered)
    File 
 "/usr/pkgsrc/lang/rust/work/rustc-1.43.1-src/src/bootstrap/bootstrap.py", 
 line 926, in bootstrap
      build.build_bootstrap()
    File 
 "/usr/pkgsrc/lang/rust/work/rustc-1.43.1-src/src/bootstrap/bootstrap.py", 
 line 718, in build_bootstrap
      run(args, env=env, verbose=self.verbose)
    File 
 "/usr/pkgsrc/lang/rust/work/rustc-1.43.1-src/src/bootstrap/bootstrap.py", 
 line 141, in run
      raise RuntimeError(err)
 RuntimeError: failed to run: 
 /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path 
 /usr/pkgsrc/lang/rust/work/rustc-1.43.1-src/src/bootstrap/Cargo.toml 
 --frozen
 *** Error code 1

 Thanks,
 John Klos

State-Changed-From-To: feedback->open
State-Changed-By: leot@NetBSD.org
State-Changed-When: Tue, 16 Jun 2020 08:27:43 +0000
State-Changed-Why:
Feedback provided


From: Havard Eidnes <he@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/54621 lang/rust fails on NetBSD 8.1 on earmv7hf
Date: Sun, 03 Jan 2021 15:22:59 +0100 (CET)

 Hm,

 I'm not sure it is going to work out of the box to simply build
 lang/rust for earmv7hf 8.1, because the earmv7hf bootstrap is built
 for NetBSD 9.0.

 I was told that there was little interest in building it for 8.x, but
 that may of course have been mistaken.

 To have a shot at making it build for 8.x (if you really feel
 compelled to push for it), you would probably have to cross-build your
 own bootstrap kit targeting 8.x, and use that in the build instead of
 the one we provide.

 That said, it's quite a while since rust 1.38.0 was the newest
 version.  Also, at one time upstream changed the option names and we
 were not quick enough to follow up on our end, but that specific
 problem should now be a problem of the past.

 So ... should we continue to keep this probem open, or can it be
 closed?

 Regards,

 - H=E5vard

From: John Klos <john@ziaspace.com>
To: gnats-bugs@netbsd.org
Cc: gdt@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/54621 lang/rust fails on NetBSD 8.1 on earmv7hf
Date: Sun, 3 Jan 2021 16:27:54 +0000 (UTC)

 Hi,

 > I was told that there was little interest in building it for 8.x, but
 > that may of course have been mistaken.

 As I have no more NetBSD 8 ARM machines and haven't heard of anyone asking 
 for rust for 8, I think we can close this.

 Thanks,
 John Klos

State-Changed-From-To: open->closed
State-Changed-By: he@NetBSD.org
State-Changed-When: Sun, 03 Jan 2021 20:52:25 +0000
State-Changed-Why:
Closed on submitters request,
old PR, and no longer able to reproduce.


From: "Havard Eidnes" <he@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/54621 CVS commit: pkgsrc/lang/rust
Date: Sun, 3 Jan 2021 21:23:44 +0000

 Module Name:	pkgsrc
 Committed By:	he
 Date:		Sun Jan  3 21:23:44 UTC 2021

 Modified Files:
 	pkgsrc/lang/rust: Makefile

 Log Message:
 Remove reference to PR#54621, arm bootstrap requires NetBSD >= 9.0.


 To generate a diff of this commit:
 cvs rdiff -u -r1.214 -r1.215 pkgsrc/lang/rust/Makefile

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

From: "Havard Eidnes" <he@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/54621 CVS commit: pkgsrc/lang/rust
Date: Sat, 20 Nov 2021 16:09:46 +0000

 Module Name:	pkgsrc
 Committed By:	he
 Date:		Sat Nov 20 16:09:46 UTC 2021

 Modified Files:
 	pkgsrc/lang/rust: Makefile distinfo options.mk platform.mk
 	pkgsrc/lang/rust/patches:
 	    patch-compiler_rustc__codegen__ssa_src_back_linker.rs
 	    patch-compiler_rustc__llvm_build.rs
 	    patch-compiler_rustc__target_src_spec_aarch64__be__unknown__netbsd.rs
 	    patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
 	    patch-compiler_rustc__target_src_spec_mod.rs
 	    patch-compiler_rustc__target_src_spec_netbsd__base.rs
 	    patch-library_std_src_sys_unix_mod.rs
 	    patch-library_std_src_sys_unix_thread.rs
 	    patch-library_unwind_build.rs patch-src_bootstrap_bootstrap.py
 	    patch-src_bootstrap_builder.rs patch-src_bootstrap_compile.rs
 	    patch-src_bootstrap_lib.rs
 	    patch-src_llvm-project_llvm_CMakeLists.txt
 	    patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake
 	    patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h
 	    patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h
 	    patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp
 	    patch-src_tools_cargo_src_cargo_core_profiles.rs
 	    patch-src_tools_cargo_tests_testsuite_build.rs
 	    patch-src_tools_rls_rls_src_cmd.rs
 	    patch-src_tools_rls_rls_src_server_io.rs
 	    patch-src_tools_rust-installer_install-template.sh
 	    patch-vendor_cc_src_lib.rs
 	    patch-vendor_libc_src_unix_solarish_mod.rs
 	    patch-vendor_lzma-sys_config.h patch-vendor_openssl-src_src_lib.rs
 	    patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs
 	    patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs
 	    patch-vendor_stacker_src_lib.rs
 	    patch-vendor_target-lexicon_src_targets.rs
 Removed Files:
 	pkgsrc/lang/rust/patches:
 	    patch-compiler_rustc__target_src_spec_solaris__base.rs
 	    patch-library_backtrace_crates_backtrace-sys_src_libbacktrace_configure
 	    patch-src_tools_miri_cargo-miri_bin.rs patch-vendor_net2_src_ext.rs

 Log Message:
 Update lang/rust to version 1.56.1.

 Pkgsrc changes:
  * Bump bootstrap kit version to 1.55.0.
  * Adjust patches as needed, some no longer apply (so removed)
  * Update checksum adjustments.
  * Avoid rust-llvm on SunOS
  * Optionally build docs
  * Remove reference to closed/old PR#54621

 Upstream changes:

 Version 1.56.1 (2021-11-01)
 ===========================

 - New lints to detect the presence of bidirectional-override Unicode
   codepoints in the compiled source code ([CVE-2021-42574])

 [CVE-2021-42574]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42574

 Version 1.56.0 (2021-10-21)
 ========================

 Language
 --------

 - [The 2021 Edition is now stable.][rust#88100]
   See [the edition guide][rust-2021-edition-guide] for more details.
 - [The pattern in `binding @ pattern` can now also introduce new bindings.]
   [rust#85305]
 - [Union field access is permitted in `const fn`.][rust#85769]

 [rust-2021-edition-guide]:
   https://doc.rust-lang.org/nightly/edition-guide/rust-2021/index.html

 Compiler
 --------

 - [Upgrade to LLVM 13.][rust#87570]
 - [Support memory, address, and thread sanitizers on aarch64-unknown-freebsd.]
   [rust#88023]
 - [Allow specifying a deployment target version for all iOS targets][rust#87699]
 - [Warnings can be forced on with `--force-warn`.][rust#87472]
   This feature is primarily intended for usage by `cargo fix`, rather than
   end users.
 - [Promote `aarch64-apple-ios-sim` to Tier 2\*.][rust#87760]
 - [Add `powerpc-unknown-freebsd` at Tier 3\*.][rust#87370]
 - [Add `riscv32imc-esp-espidf` at Tier 3\*.][rust#87666]

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

 Libraries
 ---------

 - [Allow writing of incomplete UTF-8 sequences via stdout/stderr on Windows.]
   [rust#83342]
   The Windows console still requires valid Unicode, but this change allows
   splitting a UTF-8 character across multiple write calls. This allows, for
   instance, programs that just read and write data buffers (e.g. copying a file
   to stdout) without regard for Unicode or character boundaries.
 - [Prefer `AtomicU{64,128}` over Mutex for Instant backsliding protection.]
   [rust#83093]
   For this use case, atomics scale much better under contention.
 - [Implement `Extend<(A, B)>` for `(Extend<A>, Extend)`][rust#85835]
 - [impl Default, Copy, Clone for std::io::Sink and std::io::Empty][rust#86744]
 - [`impl From<[(K, V); N]>` for all collections.][rust#84111]
 - [Remove `P: Unpin` bound on impl Future for Pin.][rust#81363]
 - [Treat invalid environment variable names as non-existent.][rust#86183]
   Previously, the environment functions would panic if given a
   variable name with an internal null character or equal sign (`=`).
   Now, these functions will just treat such names as non-existent
   variables, since the OS cannot represent the existence of a
   variable with such a name.

 Stabilised APIs
 ---------------

 - [`std::os::unix::fs::chroot`]
 - [`UnsafeCell::raw_get`]
 - [`BufWriter::into_parts`]
 - [`core::panic::{UnwindSafe, RefUnwindSafe, AssertUnwindSafe}`]
   These APIs were previously stable in `std`, but are now also available
   in `core`.
 - [`Vec::shrink_to`]
 - [`String::shrink_to`]
 - [`OsString::shrink_to`]
 - [`PathBuf::shrink_to`]
 - [`BinaryHeap::shrink_to`]
 - [`VecDeque::shrink_to`]
 - [`HashMap::shrink_to`]
 - [`HashSet::shrink_to`]

 These APIs are now usable in const contexts:

 - [`std::mem::transmute`]
 - [`[T]::first`][`slice::first`]
 - [`[T]::split_first`][`slice::split_first`]
 - [`[T]::last`][`slice::last`]
 - [`[T]::split_last`][`slice::split_last`]

 Cargo
 -----

 - [Cargo supports specifying a minimum supported Rust version in Cargo.toml.]
   [`rust-version`]
   This has no effect at present on dependency version selection.
   We encourage crates to specify their minimum supported Rust
   version, and we encourage CI systems that support Rust code to
   include a crate's specified minimum version in the text matrix
   for that crate by default.

 Compatibility notes
 -------------------

 - [Update to new argument parsing rules on Windows.][rust#87580]
   This adjusts Rust's standard library to match the behavior of the standard
   libraries for C/C++. The rules have changed slightly over time, and this PR
   brings us to the latest set of rules (changed in 2008).
 - [Disallow the aapcs calling convention on aarch64][rust#88399]
   This was already not supported by LLVM; this change surfaces this lack of
   support with a better error message.
 - [Make `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` warn by default][rust#87385]
 - [Warn when an escaped newline skips multiple lines.][rust#87671]
 - [Calls to `libc::getpid` / `std::process::id` from `Command::pre_exec`
   may return different values on glibc <= 2.24.][rust#81825]
   Rust now invokes the `clone3` system call directly, when available,
   to use new functionality available via that system call. Older
   versions of glibc cache the result of `getpid`, and only update
   that cache when calling glibc's clone/fork functions, so a direct
   system call bypasses that cache update. glibc 2.25 and newer no
   longer cache `getpid` for exactly this reason.

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

 - [LLVM is compiled with PGO in published x86_64-unknown-linux-gnu artifacts.]
   [rust#88069]
   This improves the performance of most Rust builds.
 - [Unify representation of macros in internal data structures.][rust#88019]
   This change fixes a host of bugs with the handling of macros by the compiler,
   as well as rustdoc.

 [`std::os::unix::fs::chroot`]: https://doc.rust-lang.org/stable/std/os/unix/fs/fn.chroot.html
 [`Iterator::intersperse`]: https://doc.rust-lang.org/stable/std/iter/trait.Iterator.html#method.intersperse
 [`Iterator::intersperse_with`]: https://doc.rust-lang.org/stable/std/iter/trait.Iterator.html#method.intersperse
 [`UnsafeCell::raw_get`]: https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.raw_get
 [`BufWriter::into_parts`]: https://doc.rust-lang.org/stable/std/io/struct.BufWriter.html#method.into_parts
 [`core::panic::{UnwindSafe, RefUnwindSafe, AssertUnwindSafe}`]: https://github.com/rust-lang/rust/pull/84662
 [`Vec::shrink_to`]: https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.shrink_to
 [`String::shrink_to`]: https://doc.rust-lang.org/stable/std/string/struct.String.html#method.shrink_to
 [`OsString::shrink_to`]: https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.shrink_to
 [`PathBuf::shrink_to`]: https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#method.shrink_to
 [`BinaryHeap::shrink_to`]: https://doc.rust-lang.org/stable/std/collections/struct.BinaryHeap.html#method.shrink_to
 [`VecDeque::shrink_to`]: https://doc.rust-lang.org/stable/std/collections/struct.VecDeque.html#method.shrink_to
 [`HashMap::shrink_to`]: https://doc.rust-lang.org/stable/std/collections/hash_map/struct.HashMap.html#method.shrink_to
 [`HashSet::shrink_to`]: https://doc.rust-lang.org/stable/std/collections/hash_set/struct.HashSet.html#method.shrink_to
 [`std::mem::transmute`]: https://doc.rust-lang.org/stable/std/mem/fn.transmute.html
 [`slice::first`]: https://doc.rust-lang.org/stable/std/primitive.slice.html#method.first
 [`slice::split_first`]: https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_first
 [`slice::last`]: https://doc.rust-lang.org/stable/std/primitive.slice.html#method.last
 [`slice::split_last`]: https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_last
 [`rust-version`]: https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-rust-version-field
 [rust#87671]: https://github.com/rust-lang/rust/pull/87671
 [rust#86183]: https://github.com/rust-lang/rust/pull/86183
 [rust#87385]: https://github.com/rust-lang/rust/pull/87385
 [rust#88100]: https://github.com/rust-lang/rust/pull/88100
 [rust#86860]: https://github.com/rust-lang/rust/pull/86860
 [rust#84039]: https://github.com/rust-lang/rust/pull/84039
 [rust#86492]: https://github.com/rust-lang/rust/pull/86492
 [rust#88363]: https://github.com/rust-lang/rust/pull/88363
 [rust#85305]: https://github.com/rust-lang/rust/pull/85305
 [rust#87832]: https://github.com/rust-lang/rust/pull/87832
 [rust#88069]: https://github.com/rust-lang/rust/pull/88069
 [rust#87472]: https://github.com/rust-lang/rust/pull/87472
 [rust#87699]: https://github.com/rust-lang/rust/pull/87699
 [rust#87570]: https://github.com/rust-lang/rust/pull/87570
 [rust#88023]: https://github.com/rust-lang/rust/pull/88023
 [rust#87760]: https://github.com/rust-lang/rust/pull/87760
 [rust#87370]: https://github.com/rust-lang/rust/pull/87370
 [rust#87580]: https://github.com/rust-lang/rust/pull/87580
 [rust#83342]: https://github.com/rust-lang/rust/pull/83342
 [rust#83093]: https://github.com/rust-lang/rust/pull/83093
 [rust#88177]: https://github.com/rust-lang/rust/pull/88177
 [rust#88548]: https://github.com/rust-lang/rust/pull/88548
 [rust#88551]: https://github.com/rust-lang/rust/pull/88551
 [rust#88299]: https://github.com/rust-lang/rust/pull/88299
 [rust#88220]: https://github.com/rust-lang/rust/pull/88220
 [rust#85835]: https://github.com/rust-lang/rust/pull/85835
 [rust#86879]: https://github.com/rust-lang/rust/pull/86879
 [rust#86744]: https://github.com/rust-lang/rust/pull/86744
 [rust#84662]: https://github.com/rust-lang/rust/pull/84662
 [rust#86593]: https://github.com/rust-lang/rust/pull/86593
 [rust#81050]: https://github.com/rust-lang/rust/pull/81050
 [rust#81363]: https://github.com/rust-lang/rust/pull/81363
 [rust#84111]: https://github.com/rust-lang/rust/pull/84111
 [rust#85769]: https://github.com/rust-lang/rust/pull/85769#issuecomment-854363720
 [rust#88490]: https://github.com/rust-lang/rust/pull/88490
 [rust#88269]: https://github.com/rust-lang/rust/pull/88269
 [rust#84176]: https://github.com/rust-lang/rust/pull/84176
 [rust#88399]: https://github.com/rust-lang/rust/pull/88399
 [rust#88227]: https://github.com/rust-lang/rust/pull/88227
 [rust#88200]: https://github.com/rust-lang/rust/pull/88200
 [rust#82776]: https://github.com/rust-lang/rust/pull/82776
 [rust#88077]: https://github.com/rust-lang/rust/pull/88077
 [rust#87728]: https://github.com/rust-lang/rust/pull/87728
 [rust#87050]: https://github.com/rust-lang/rust/pull/87050
 [rust#87619]: https://github.com/rust-lang/rust/pull/87619
 [rust#81825]: https://github.com/rust-lang/rust/pull/81825#issuecomment-808406918
 [rust#88019]: https://github.com/rust-lang/rust/pull/88019
 [rust#87666]: https://github.com/rust-lang/rust/pull/87666

 Version 1.55.0 (2021-09-09)
 ============================

 Language
 --------
 - [You can now write open "from" range patterns (`X..`), which will start
   at `X` and will end at the maximum value of the integer.][83918]
 - [You can now explicitly import the prelude of different editions
   through `std::prelude` (e.g. `use std::prelude::rust_2021::*;`).][86294]

 Compiler
 --------
 - [Added tier 3\* support for `powerpc64le-unknown-freebsd`.][83572]

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

 Libraries
 ---------

 - [Updated std's float parsing to use the Eisel-Lemire algorithm.][86761]
   These improvements should in general provide faster string parsing of floats,
   no longer reject certain valid floating point values, and reduce
   the produced code size for non-stripped artifacts.
 - [`string::Drain` now implements `AsRef<str>` and `AsRef<[u8]>`.][86858]

 Stabilised APIs
 ---------------

 - [`Bound::cloned`]
 - [`Drain::as_str`]
 - [`IntoInnerError::into_error`]
 - [`IntoInnerError::into_parts`]
 - [`MaybeUninit::assume_init_mut`]
 - [`MaybeUninit::assume_init_ref`]
 - [`MaybeUninit::write`]
 - [`array::map`]
 - [`ops::ControlFlow`]
 - [`x86::_bittest`]
 - [`x86::_bittestandcomplement`]
 - [`x86::_bittestandreset`]
 - [`x86::_bittestandset`]
 - [`x86_64::_bittest64`]
 - [`x86_64::_bittestandcomplement64`]
 - [`x86_64::_bittestandreset64`]
 - [`x86_64::_bittestandset64`]

 The following previously stable functions are now `const`.

 - [`str::from_utf8_unchecked`]

 Cargo
 -----
 - [Cargo will now deduplicate compiler diagnostics to the terminal when invoking
   rustc in parallel such as when using `cargo test`.][cargo/9675]
 - [The package definition in `cargo metadata` now includes the `"default_run"`
   field from the manifest.][cargo/9550]
 - [Added `cargo d` as an alias for `cargo doc`.][cargo/9680]
 - [Added `{lib}` as formatting option for `cargo tree` to print the `"lib_name"`
   of packages.][cargo/9663]

 Rustdoc
 -------
 - [Added "Go to item on exact match" search option.][85876]
 - [The "Implementors" section on traits no longer shows redundant
   method definitions.][85970]
 - [Trait implementations are toggled open by default.][86260] This should
   make the implementations more searchable by tools like `CTRL+F` in
   your browser.
 - [Intra-doc links should now correctly resolve associated items (e.g. methods)
   through type aliases.][86334]
 - [Traits which are marked with `#[doc(hidden)]` will no longer appear in the
   "Trait Implementations" section.][86513]

 Compatibility Notes
 -------------------
 - [std functions that return an `io::Error` will no longer use the
   `ErrorKind::Other` variant.][85746] This is to better reflect that these
   kinds of errors could be categorised [into newer more specific `ErrorKind`
   variants][79965], and that they do not represent a user error.
 - [Using environment variable names with `process::Command` on Windows now
   behaves as expected.][85270] Previously using envionment variables with
   `Command` would cause them to be ASCII-uppercased.
 - [Rustdoc will now warn on using rustdoc lints that aren't prefixed
   with `rustdoc::`][86849]

 [86849]: https://github.com/rust-lang/rust/pull/86849
 [86513]: https://github.com/rust-lang/rust/pull/86513
 [86334]: https://github.com/rust-lang/rust/pull/86334
 [86260]: https://github.com/rust-lang/rust/pull/86260
 [85970]: https://github.com/rust-lang/rust/pull/85970
 [85876]: https://github.com/rust-lang/rust/pull/85876
 [83572]: https://github.com/rust-lang/rust/pull/83572
 [86294]: https://github.com/rust-lang/rust/pull/86294
 [86858]: https://github.com/rust-lang/rust/pull/86858
 [86761]: https://github.com/rust-lang/rust/pull/86761
 [85769]: https://github.com/rust-lang/rust/pull/85769
 [85746]: https://github.com/rust-lang/rust/pull/85746
 [85305]: https://github.com/rust-lang/rust/pull/85305
 [85270]: https://github.com/rust-lang/rust/pull/85270
 [84111]: https://github.com/rust-lang/rust/pull/84111
 [83918]: https://github.com/rust-lang/rust/pull/83918
 [79965]: https://github.com/rust-lang/rust/pull/79965
 [87370]: https://github.com/rust-lang/rust/pull/87370
 [87298]: https://github.com/rust-lang/rust/pull/87298
 [cargo/9663]: https://github.com/rust-lang/cargo/pull/9663
 [cargo/9675]: https://github.com/rust-lang/cargo/pull/9675
 [cargo/9550]: https://github.com/rust-lang/cargo/pull/9550
 [cargo/9680]: https://github.com/rust-lang/cargo/pull/9680
 [cargo/9663]: https://github.com/rust-lang/cargo/pull/9663
 [`array::map`]: https://doc.rust-lang.org/stable/std/primitive.array.html#method.map
 [`Bound::cloned`]: https://doc.rust-lang.org/stable/std/ops/enum.Bound.html#method.cloned
 [`Drain::as_str`]: https://doc.rust-lang.org/stable/std/string/struct.Drain.html#method.as_str
 [`IntoInnerError::into_error`]: https://doc.rust-lang.org/stable/std/io/struct.IntoInnerError.html#method.into_error
 [`IntoInnerError::into_parts`]: https://doc.rust-lang.org/stable/std/io/struct.IntoInnerError.html#method.into_parts
 [`MaybeUninit::assume_init_mut`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.assume_init_mut
 [`MaybeUninit::assume_init_ref`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.assume_init_ref
 [`MaybeUninit::write`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.write
 [`Seek::rewind`]: https://doc.rust-lang.org/stable/std/io/trait.Seek.html#method.rewind
 [`ops::ControlFlow`]: https://doc.rust-lang.org/stable/std/ops/enum.ControlFlow.html
 [`str::from_utf8_unchecked`]: https://doc.rust-lang.org/stable/std/str/fn.from_utf8_unchecked.html
 [`x86::_bittest`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittest.html
 [`x86::_bittestandcomplement`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandcomplement.html
 [`x86::_bittestandreset`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandreset.html
 [`x86::_bittestandset`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandset.html
 [`x86_64::_bittest64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittest64.html
 [`x86_64::_bittestandcomplement64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandcomplement64.html
 [`x86_64::_bittestandreset64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandreset64.html
 [`x86_64::_bittestandset64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandset64.html


 To generate a diff of this commit:
 cvs rdiff -u -r1.246 -r1.247 pkgsrc/lang/rust/Makefile
 cvs rdiff -u -r1.138 -r1.139 pkgsrc/lang/rust/distinfo
 cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/rust/options.mk
 cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/rust/platform.mk
 cvs rdiff -u -r1.2 -r1.3 \
     pkgsrc/lang/rust/patches/patch-compiler_rustc__codegen__ssa_src_back_linker.rs \
     pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_aarch64__be__unknown__netbsd.rs \
     pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_mod.rs \
     pkgsrc/lang/rust/patches/patch-vendor_cc_src_lib.rs \
     pkgsrc/lang/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs \
     pkgsrc/lang/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_mod.rs
 cvs rdiff -u -r1.3 -r1.4 \
     pkgsrc/lang/rust/patches/patch-compiler_rustc__llvm_build.rs \
     pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h \
     pkgsrc/lang/rust/patches/patch-vendor_target-lexicon_src_targets.rs
 cvs rdiff -u -r1.4 -r1.5 \
     pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs \
     pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mod.rs \
     pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs \
     pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_thread.rs \
     pkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs \
     pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h \
     pkgsrc/lang/rust/patches/patch-src_tools_rls_rls_src_cmd.rs \
     pkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs \
     pkgsrc/lang/rust/patches/patch-vendor_lzma-sys_config.h \
     pkgsrc/lang/rust/patches/patch-vendor_stacker_src_lib.rs
 cvs rdiff -u -r1.3 -r0 \
     pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_solaris__base.rs \
     pkgsrc/lang/rust/patches/patch-vendor_net2_src_ext.rs
 cvs rdiff -u -r1.2 -r0 \
     pkgsrc/lang/rust/patches/patch-library_backtrace_crates_backtrace-sys_src_libbacktrace_configure
 cvs rdiff -u -r1.5 -r1.6 \
     pkgsrc/lang/rust/patches/patch-library_unwind_build.rs \
     pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_CMakeLists.txt \
     pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp \
     pkgsrc/lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs \
     pkgsrc/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs
 cvs rdiff -u -r1.7 -r1.8 \
     pkgsrc/lang/rust/patches/patch-src_bootstrap_bootstrap.py \
     pkgsrc/lang/rust/patches/patch-src_tools_rust-installer_install-template.sh
 cvs rdiff -u -r1.17 -r1.18 \
     pkgsrc/lang/rust/patches/patch-src_bootstrap_builder.rs
 cvs rdiff -u -r1.10 -r1.11 \
     pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs
 cvs rdiff -u -r1.6 -r1.7 \
     pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake \
     pkgsrc/lang/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs
 cvs rdiff -u -r1.8 -r1.9 \
     pkgsrc/lang/rust/patches/patch-src_tools_cargo_tests_testsuite_build.rs
 cvs rdiff -u -r1.1 -r0 \
     pkgsrc/lang/rust/patches/patch-src_tools_miri_cargo-miri_bin.rs

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.