Subject: CVS commit: pkgsrc/lang/rust
From: pin
Date: 2023-10-25 07:50:43
Message id: 20231025055044.05B4DFADC@cvs.NetBSD.org

Log Message:
lang/rust: update to 1.72.1

Packaged in wip by he@ and adam@ with minor adjustments from myself.

v1.72.1
Changes
 - Adjust codegen change to improve LLVM codegen
 - rustdoc: Fix self ty params in objects with lifetimes
 - Fix regression in compile times
 - Resolve some ICE regressions in the compiler:
     - #115215
     - #115559

v1.72.0
Language
 - Replace const eval limit by a lint and add an exponential backoff warning
 - expand: Change how #![cfg(FALSE)] behaves on crate root
 - Stabilize inline asm for LoongArch64
 - Uplift clippy::undropped_manually_drops lint
 - Uplift clippy::invalid_utf8_in_unchecked lint as invalid_from_utf8_unchecked
   and invalid_from_utf8
 - Uplift clippy::cast_ref_to_mut lint as invalid_reference_casting
 - Uplift clippy::cmp_nan lint as invalid_nan_comparisons
 - resolve: Remove artificial import ambiguity errors
 - Don’t require associated types with Self: Sized bounds in dyn Trait objects

Compiler
 - Remember names of cfg-ed out items to mention them in diagnostics
 - Support for native WASM exceptions
 - Add support for NetBSD/aarch64-be (big-endian arm64).
 - Write to stdout if - is given as output file
 - Force all native libraries to be statically linked when linking a static
   binary
 - Add Tier 3 support for loongarch64-unknown-none*
 - Prevent .eh_frame from being emitted for -C panic=abort
 - Support 128-bit enum variant in debuginfo codegen
 - compiler: update solaris/illumos to enable tsan support.

Refer to Rust’s platform support page, platform-support-doc for more
information on Rust’s tiered platform support.

Libraries
 - Document memory orderings of thread::{park, unpark}
 - io: soften ‘at most one write attempt’ requirement in io::Write::write
 - Specify behavior of HashSet::insert
 - Relax implicit T: Sized bounds on BufReader<T>, BufWriter<T> and \ 
LineWriter<T>
 - Update runtime guarantee for select_nth_unstable
 - Return Ok on kill if process has already exited
 - Implement PartialOrd for Vecs over different allocators
 - Use 128 bits for TypeId hash
 - Don’t drain-on-drop in DrainFilter impls of various collections.
 - Make {Arc,Rc,Weak}::ptr_eq ignore pointer metadata

Rustdoc
 - Allow whitespace as path separator like double colon
 - Add search result item types after their name
 - Search for slices and arrays by type with []
 - Clean up type unification and “unboxing”

Stabilized APIs
 impl<T: Send> Sync for mpsc::Sender<T>
 impl TryFrom<&OsStr> for &str
 String::leak

These APIs are now stable in const contexts:
 CStr::from_bytes_with_nul
 CStr::to_bytes
 CStr::to_bytes_with_nul
 CStr::to_str

Cargo
 - Enable -Zdoctest-in-workspace by default. When running each documentation
   test, the working directory is set to the root directory of the package the
   test belongs to. docs #12221 #12288
 - Add support of the “default” keyword to reset previously set build.jobs
   parallelism back to the default. #12222

Compatibility Notes
 - Alter Display for Ipv6Addr for IPv4-compatible addresses
 - Cargo changed feature name validation check to a hard error. The warning was
   added in Rust 1.49. These extended characters aren’t allowed on crates.io,
   so this should only impact users of other registries, or people who don’t
   publish to a registry. #12291
 - Demoted mips*-unknown-linux-gnu* targets from host tier 2 to target tier 3 \ 
support.

Files:
RevisionActionfile
1.294modifypkgsrc/lang/rust/Makefile
1.14modifypkgsrc/lang/rust/buildlink3.mk
1.163modifypkgsrc/lang/rust/distinfo
1.8modifypkgsrc/lang/rust/do-cross.mk
1.20modifypkgsrc/lang/rust/platform.mk
1.12modifypkgsrc/lang/rust/patches/patch-compiler_rustc__codegen__ssa_src_back_linker.rs
1.13modifypkgsrc/lang/rust/patches/patch-compiler_rustc__llvm_build.rs
1.9modifypkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
1.3modifypkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mips64el__unknown__netbsd.rs
1.4modifypkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mipsel__unknown__netbsd.rs
1.15modifypkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mod.rs
1.9modifypkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_netbsd__base.rs
1.5modifypkgsrc/lang/rust/patches/patch-library_backtrace_src_symbolize_gimli.rs
1.6modifypkgsrc/lang/rust/patches/patch-library_backtrace_src_symbolize_gimli_elf.rs
1.9modifypkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_mod.rs
1.14modifypkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_thread.rs
1.3modifypkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_thread__parking_netbsd.rs
1.20modifypkgsrc/lang/rust/patches/patch-src_bootstrap_bootstrap.py
1.27modifypkgsrc/lang/rust/patches/patch-src_bootstrap_builder.rs
1.14modifypkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs
1.21modifypkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs
1.3modifypkgsrc/lang/rust/patches/patch-src_bootstrap_llvm.rs
1.13modifypkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_CMakeLists.txt
1.14modifypkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake
1.7modifypkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h
1.9modifypkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h
1.3modifypkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_lib_Support_BLAKE3_blake3__impl.h
1.12modifypkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp
1.16modifypkgsrc/lang/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs
1.13modifypkgsrc/lang/rust/patches/patch-src_tools_cargo_tests_testsuite_build.rs
1.11modifypkgsrc/lang/rust/patches/patch-src_tools_rust-installer_install-template.sh
1.5modifypkgsrc/lang/rust/patches/patch-vendor_backtrace_src_symbolize_gimli.rs
1.7modifypkgsrc/lang/rust/patches/patch-vendor_backtrace_src_symbolize_gimli_elf.rs
1.3modifypkgsrc/lang/rust/patches/patch-vendor_cc-1.0.73_src_lib.rs
1.12modifypkgsrc/lang/rust/patches/patch-vendor_cc_src_lib.rs
1.5modifypkgsrc/lang/rust/patches/patch-vendor_crossbeam-epoch_no__atomic.rs
1.2modifypkgsrc/lang/rust/patches/patch-vendor_crossbeam-utils-0.8.14-no__atomic.rs
1.5modifypkgsrc/lang/rust/patches/patch-vendor_crossbeam-utils_no__atomic.rs
1.3modifypkgsrc/lang/rust/patches/patch-vendor_libc-0.2.138_src_unix_bsd_netbsdlike_netbsd_mips.rs
1.4modifypkgsrc/lang/rust/patches/patch-vendor_libc-0.2.138_src_unix_bsd_netbsdlike_netbsd_mod.rs
1.3modifypkgsrc/lang/rust/patches/patch-vendor_libc-0.2.138_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
1.2modifypkgsrc/lang/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_mips.rs
1.2modifypkgsrc/lang/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_mod.rs
1.2modifypkgsrc/lang/rust/patches/patch-vendor_libc-0.2.140_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
1.4modifypkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_mips.rs
1.8modifypkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_mod.rs
1.3modifypkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
1.13modifypkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs
1.8modifypkgsrc/lang/rust/patches/patch-vendor_lzma-sys_config.h
1.4modifypkgsrc/lang/rust/patches/patch-vendor_nix_src_sys_signal.rs
1.3modifypkgsrc/lang/rust/patches/patch-vendor_openssl-src_openssl_Configurations_10-main.conf
1.12modifypkgsrc/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs
1.3modifypkgsrc/lang/rust/patches/patch-vendor_openssl-sys_build_find__normal.rs
1.4modifypkgsrc/lang/rust/patches/patch-vendor_openssl-sys_build_main.rs
1.8modifypkgsrc/lang/rust/patches/patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs
1.9modifypkgsrc/lang/rust/patches/patch-vendor_stacker_src_lib.rs
1.12modifypkgsrc/lang/rust/patches/patch-vendor_target-lexicon_src_targets.rs
1.4modifypkgsrc/lang/rust/patches/patch-vendor_valuable_no__atomic.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_crossbeam-utils-0.8.15_no__atomic.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_libc-0.2.140_src_unix_solarish_mod.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_libc-0.2.141_src_unix_bsd_netbsdlike_netbsd_mips.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_libc-0.2.141_src_unix_bsd_netbsdlike_netbsd_mod.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_libc-0.2.141_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_libc-0.2.141_src_unix_solarish_mod.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_libc-0.2.146_src_unix_bsd_netbsdlike_netbsd_mips.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_libc-0.2.146_src_unix_bsd_netbsdlike_netbsd_mod.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_libc-0.2.146_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
1.1addpkgsrc/lang/rust/patches/patch-vendor_libc-0.2.146_src_unix_solarish_mod.rs
1.6removepkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_aarch64__be__unknown__netbsd.rs
1.2removepkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_riscv64gc__unknown__netbsd.rs
1.2removepkgsrc/lang/rust/patches/patch-library_core_src_ffi_mod.rs
1.1removepkgsrc/lang/rust/patches/patch-library_portable-simd_crates_core__simd_src_swizzle__dyn.rs
1.2removepkgsrc/lang/rust/patches/patch-vendor_cc-1.0.77_src_lib.rs
1.2removepkgsrc/lang/rust/patches/patch-vendor_libc-0.2.139_src_unix_bsd_netbsdlike_netbsd_mips.rs
1.2removepkgsrc/lang/rust/patches/patch-vendor_libc-0.2.139_src_unix_bsd_netbsdlike_netbsd_mod.rs
1.2removepkgsrc/lang/rust/patches/patch-vendor_libc-0.2.139_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
1.1removepkgsrc/lang/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mips.rs
1.1removepkgsrc/lang/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_mod.rs
1.1removepkgsrc/lang/rust/patches/patch-vendor_libc-0.2.143_src_unix_bsd_netbsdlike_netbsd_riscv64.rs