pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   he
Date:           Sat Oct 18 17:14:37 UTC 2025

Modified Files:
        pkgsrc/lang/rust: Makefile distinfo
        pkgsrc/lang/rust/patches:
            patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs
Added Files:
        pkgsrc/lang/rust/patches:
            patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs
            patch-tests_assembly-llvm_targets_targets-elf.rs
            patch-vendor_libc-0.2.155_src_unix_solarish_mod.rs
            patch-vendor_libc-0.2.168_src_unix_solarish_mod.rs
            patch-vendor_libc-0.2.169_src_unix_solarish_mod.rs
            patch-vendor_libc-0.2.174_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
            patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_Configurations_10-main.conf
            patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_crypto_aria_aria.c
            patch-vendor_openssl-src-111.28.2+1.1.1w_src_lib.rs
            patch-vendor_openssl-src-300.5.0+3.5.0_openssl_Configurations_10-main.conf
            patch-vendor_openssl-src-300.5.0+3.5.0_openssl_crypto_aria_aria.c
            patch-vendor_openssl-src-300.5.0+3.5.0_src_lib.rs
            patch-vendor_openssl-sys-0.9.109_build_find__normal.rs
            patch-vendor_openssl-sys-0.9.109_build_main.rs
            patch-vendor_openssl-sys-0.9.92_build_find__normal.rs
            patch-vendor_openssl-sys-0.9.92_build_main.rs
Removed Files:
        pkgsrc/lang/rust/patches:
            patch-library_stdarch_crates_std__detect_tests_cpu-detection.rs
            patch-tests_assembly_targets_targets-elf.rs
            patch-vendor_bytecount-0.6.8_src_lib.rs
            patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs
            patch-vendor_libc-0.2.170_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
            patch-vendor_openssl-src-111.17.0+1.1.1m_openssl_Configurations_10-main.conf
            patch-vendor_openssl-src-111.17.0+1.1.1m_openssl_crypto_aria_aria.c
            patch-vendor_openssl-src-111.17.0+1.1.1m_src_lib.rs
            patch-vendor_openssl-src-300.4.2+3.4.1_openssl_Configurations_10-main.conf
            patch-vendor_openssl-src-300.4.2+3.4.1_openssl_crypto_aria_aria.c
            patch-vendor_openssl-src-300.4.2+3.4.1_src_lib.rs
            patch-vendor_openssl-sys-0.9.104_build_find__normal.rs
            patch-vendor_openssl-sys-0.9.104_build_main.rs
            patch-vendor_openssl-sys-0.9.108_build_find__normal.rs
            patch-vendor_openssl-sys-0.9.108_build_main.rs

Log Message:
lang/rust: update to version 1.90.0 from pkgsrc-wip.

Pkgsrc changes:
 * Disable the build of NetBSD-*aarch64eb, since it now fails both
   to cross-build and to build natively.
   Ref. https://github.com/rust-lang/rust/issues/146842
 * Adjusted patches, checksum updates etc.

Upstream changes:

Version 1.90 (2025-09-18)
==========================

Language
--------
- [Split up the `unknown_or_malformed_diagnostic_attributes` lint]
  (https://github.com/rust-lang/rust/pull/140717). This lint has
  been split up into four finer-grained lints, with
  `unknown_or_malformed_diagnostic_attributes` now being the lint
  group that contains these lints:
    1. `unknown_diagnostic_attributes`: unknown to the current compiler
    2. `misplaced_diagnostic_attributes`: placed on the wrong item
    3. `malformed_diagnostic_attributes`: malformed attribute syntax or options
    4. `malformed_diagnostic_format_literals`: malformed format string literal
- [Allow constants whose final value has references to mutable/external
  memory, but reject such constants as patterns]
  (https://github.com/rust-lang/rust/pull/140942)
- [Allow volatile access to non-Rust memory, including address 0]
  (https://github.com/rust-lang/rust/pull/141260)

Compiler
--------
- [Use `lld` by default on `x86_64-unknown-linux-gnu`]
  (https://github.com/rust-lang/rust/pull/140525).
- [Tier 3 `musl` targets now link dynamically by default]
  (https://github.com/rust-lang/rust/pull/144410). Affected targets:
    - `mips64-unknown-linux-muslabi64`
    - `powerpc64-unknown-linux-musl`
    - `powerpc-unknown-linux-musl`
    - `powerpc-unknown-linux-muslspe`
    - `riscv32gc-unknown-linux-musl`
    - `s390x-unknown-linux-musl`
    - `thumbv7neon-unknown-linux-musleabihf`

Platform Support
----------------
- [Demote `x86_64-apple-darwin` to Tier 2 with host tools]
  (https://github.com/rust-lang/rust/pull/145252)

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

[platform-support-doc]: https://doc.rust-lang.org/rustc/platform-support.html

Libraries
---------
- [Stabilize `u*::{checked,overflowing,saturating,wrapping}_sub_signed`]
  (https://github.com/rust-lang/rust/issues/126043)
- [Allow comparisons between `CStr`, `CString`, and `Cow<CStr>`]
  (https://github.com/rust-lang/rust/pull/137268)
- [Remove some unsized tuple impls since unsized tuples can't be constructed]
  (https://github.com/rust-lang/rust/pull/138340)
- [Set `MSG_NOSIGNAL` for `UnixStream`]
  (https://github.com/rust-lang/rust/pull/140005)
- [`proc_macro::Ident::new` now supports `$crate`.]
  (https://github.com/rust-lang/rust/pull/141996)
- [Guarantee the pointer returned from `Thread::into_raw` has at
  least 8 bytes of alignment]
  (https://github.com/rust-lang/rust/pull/143859)

Stabilized APIs
---------------
- [`u{n}::checked_sub_signed`]
  (https://doc.rust-lang.org/stable/std/primitive.usize.html#method.checked_sub_signed)
- [`u{n}::overflowing_sub_signed`]
  (https://doc.rust-lang.org/stable/std/primitive.usize.html#method.overflowing_sub_signed)
- [`u{n}::saturating_sub_signed`]
  (https://doc.rust-lang.org/stable/std/primitive.usize.html#method.saturating_sub_signed)
- [`u{n}::wrapping_sub_signed`]
  (https://doc.rust-lang.org/stable/std/primitive.usize.html#method.wrapping_sub_signed)
- [`impl Copy for IntErrorKind`]
  (https://doc.rust-lang.org/stable/std/num/enum.IntErrorKind.html#impl-Copy-for-IntErrorKind)
- [`impl Hash for IntErrorKind`]
  (https://doc.rust-lang.org/stable/std/num/enum.IntErrorKind.html#impl-Hash-for-IntErrorKind)
- [`impl PartialEq<&CStr> for CStr`]
  (https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#impl-PartialEq%3C%26CStr%3E-for-CStr)
- [`impl PartialEq<CString> for CStr`]
  (https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#impl-PartialEq%3CCString%3E-for-CStr)
- [`impl PartialEq<Cow<CStr>> for CStr`]
  (https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#impl-PartialEq%3CCow%3C'_,+CStr%3E%3E-for-CStr)
- [`impl PartialEq<&CStr> for CString`]
  (https://doc.rust-lang.org/stable/std/ffi/struct.CString.html#impl-PartialEq%3C%26CStr%3E-for-CString)
- [`impl PartialEq<CStr> for CString`]
  (https://doc.rust-lang.org/stable/std/ffi/struct.CString.html#impl-PartialEq%3CCStr%3E-for-CString)
- [`impl PartialEq<Cow<CStr>> for CString`]
  (https://doc.rust-lang.org/stable/std/ffi/struct.CString.html#impl-PartialEq%3CCow%3C'_,+CStr%3E%3E-for-CString)
- [`impl PartialEq<&CStr> for Cow<CStr>`]
  (https://doc.rust-lang.org/stable/std/borrow/enum.Cow.html#impl-PartialEq%3C%26CStr%3E-for-Cow%3C'_,+CStr%3E)
- [`impl PartialEq<CStr> for Cow<CStr>`]
  (https://doc.rust-lang.org/stable/std/borrow/enum.Cow.html#impl-PartialEq%3CCStr%3E-for-Cow%3C'_,+CStr%3E)
- [`impl PartialEq<CString> for Cow<CStr>`]
  (https://doc.rust-lang.org/stable/std/borrow/enum.Cow.html#impl-PartialEq%3CCString%3E-for-Cow%3C'_,+CStr%3E)

These previously stable APIs are now stable in const contexts:

- [`<[T]>::reverse`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.reverse)
- [`f32::floor`]
  (https://doc.rust-lang.org/stable/std/primitive.f32.html#method.floor)
- [`f32::ceil`]
  (https://doc.rust-lang.org/stable/std/primitive.f32.html#method.ceil)
- [`f32::trunc`]
  (https://doc.rust-lang.org/stable/std/primitive.f32.html#method.trunc)
- [`f32::fract`]
  (https://doc.rust-lang.org/stable/std/primitive.f32.html#method.fract)
  (https://doc.rust-lang.org/stable/std/primitive.f32.html#method.fract)
- [`f32::round`]
  (https://doc.rust-lang.org/stable/std/primitive.f32.html#method.round)
- [`f32::round_ties_even`]
  (https://doc.rust-lang.org/stable/std/primitive.f32.html#method.round_ties_even)
- [`f64::floor`]
  (https://doc.rust-lang.org/stable/std/primitive.f64.html#method.floor)
- [`f64::ceil`]
  (https://doc.rust-lang.org/stable/std/primitive.f64.html#method.ceil)
- [`f64::trunc`]
  (https://doc.rust-lang.org/stable/std/primitive.f64.html#method.trunc)
- [`f64::fract`]
  (https://doc.rust-lang.org/stable/std/primitive.f64.html#method.fract)
- [`f64::round`]
  (https://doc.rust-lang.org/stable/std/primitive.f64.html#method.round)
- [`f64::round_ties_even`]
  (https://doc.rust-lang.org/stable/std/primitive.f64.html#method.round_ties_even)

Cargo
-----
- [Add `http.proxy-cainfo` config for proxy certs]
  (https://github.com/rust-lang/cargo/pull/15374/)
- [Use `gix` for `cargo package`]
  (https://github.com/rust-lang/cargo/pull/15534/)
- [feat(publish): Stabilize multi-package publishing]
  (https://github.com/rust-lang/cargo/pull/15636/)

Rustdoc
-----
- [Add ways to collapse all impl blocks]
  (https://github.com/rust-lang/rust/pull/141663). Previously the
  "Summary" button and "-" keyboard shortcut would never collapse
  `impl` blocks, now they do when shift is held
- [Display unsafe attributes with `unsafe()` wrappers]
  (https://github.com/rust-lang/rust/pull/143662)

Compatibility Notes
-------------------
- [Use `lld` by default on `x86_64-unknown-linux-gnu`]
  (https://github.com/rust-lang/rust/pull/140525).
  See also <https://blog.rust-lang.org/2025/09/01/rust-lld-on-1.90.0-stable/>.
- [Make `core::iter::Fuse`'s `Default` impl construct `I::default()`
  internally as promised in the docs instead of always being empty]
  (https://github.com/rust-lang/rust/pull/140985)
- [Set `MSG_NOSIGNAL` for `UnixStream`]
  (https://github.com/rust-lang/rust/pull/140005) This may change
  program behavior but results in the same behavior as other
  primitives (e.g., stdout, network sockets).  Programs relying on
  signals to terminate them should update handling of sockets to
  handle errors on write by exiting.
- [On Unix `std::env::home_dir` will use the fallback if the `HOME`
  environment variable is empty]
  (https://github.com/rust-lang/rust/pull/141840)
- We now [reject unsupported `extern "{abi}"`s consistently in all
  positions] (https://github.com/rust-lang/rust/pull/142134). This
  primarily affects the use of implementing traits on an `extern
  "{abi}"` function pointer, like `extern "stdcall" fn()`, on a
  platform that doesn't support that, like aarch64-unknown-linux-gnu.
  Direct usage of these unsupported ABI strings by declaring or
  defining functions was already rejected, so this is only a change
  for consistency.
- [const-eval: error when initializing a static writes to that static]
  (https://github.com/rust-lang/rust/pull/143084)
- [Check that the `proc_macro_derive` macro has correct arguments
  when applied to the crate root]
  (https://github.com/rust-lang/rust/pull/143607)

Version 1.89.0 (2025-08-07)
==========================

Language
--------
- [Stabilize explicitly inferred const arguments (`feature(generic_arg_infer)`)]
  (https://github.com/rust-lang/rust/pull/141610)
- [Add a warn-by-default `mismatched_lifetime_syntaxes` lint.]
  (https://github.com/rust-lang/rust/pull/138677)
  This lint detects when the same lifetime is referred to by
  different syntax categories between function arguments and return
  values, which can be confusing to read, especially in unsafe
  code.  This lint supersedes the warn-by-default `elided_named_lifetimes`
  lint.
- [Expand `unpredictable_function_pointer_comparisons` to also lint
  on function pointer comparisons in external macros]
  (https://github.com/rust-lang/rust/pull/134536)
- [Make the `dangerous_implicit_autorefs` lint deny-by-default]
  (https://github.com/rust-lang/rust/pull/141661)
- [Stabilize the avx512 target features]
  (https://github.com/rust-lang/rust/pull/138940)
- [Stabilize `kl` and `widekl` target features for x86]
  (https://github.com/rust-lang/rust/pull/140766)
- [Stabilize `sha512`, `sm3` and `sm4` target features for x86]
  (https://github.com/rust-lang/rust/pull/140767)
- [Stabilize LoongArch target features `f`, `d`, `frecipe`, `lasx`,
  `lbt`, `lsx`, and `lvz`]
  (https://github.com/rust-lang/rust/pull/135015)
- [Remove `i128` and `u128` from `improper_ctypes_definitions`]
  (https://github.com/rust-lang/rust/pull/137306)
- [Stabilize `repr128` (`#[repr(u128)]`, `#[repr(i128)]`)]
  (https://github.com/rust-lang/rust/pull/138285)
- [Allow `#![doc(test(attr(..)))]` everywhere]
  (https://github.com/rust-lang/rust/pull/140560)
- [Extend temporary lifetime extension to also go through tuple
  struct and tuple variant constructors]
  (https://github.com/rust-lang/rust/pull/140593)

Compiler
--------
- [Default to non-leaf frame pointers on aarch64-linux]
  (https://github.com/rust-lang/rust/pull/140832)
- [Enable non-leaf frame pointers for Arm64EC Windows]
  (https://github.com/rust-lang/rust/pull/140862)
- [Set Apple frame pointers by architecture]
  (https://github.com/rust-lang/rust/pull/141797)

Platform Support
----------------
- [Add new Tier-3 targets `loongarch32-unknown-none` and
  `loongarch32-unknown-none-softfloat`]
  (https://github.com/rust-lang/rust/pull/142053)

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

[platform-support-doc]: https://doc.rust-lang.org/rustc/platform-support.html

Libraries
---------
- [Specify the base path for `file!`]
  (https://github.com/rust-lang/rust/pull/134442)
- [Allow storing `format_args!()` in a variable]
  (https://github.com/rust-lang/rust/pull/140748)
- [Add `#[must_use]` to `[T; N]::map`]
  (https://github.com/rust-lang/rust/pull/140957)
- [Implement `DerefMut` for `Lazy{Cell,Lock}`]
  (https://github.com/rust-lang/rust/pull/129334)
- [Implement `Default` for `array::IntoIter`]
  (https://github.com/rust-lang/rust/pull/141574)
- [Implement `Clone` for `slice::ChunkBy`]
  (https://github.com/rust-lang/rust/pull/138016)
- [Implement `io::Seek` for `io::Take`]
  (https://github.com/rust-lang/rust/pull/138023)

Stabilized APIs
---------------

- [`NonZero<char>`]
  (https://doc.rust-lang.org/stable/std/num/struct.NonZero.html)
- Many intrinsics for x86, not enumerated here
  - [AVX512 intrinsics](https://github.com/rust-lang/rust/issues/111137)
  - [`SHA512`, `SM3` and `SM4` intrinsics]
    (https://github.com/rust-lang/rust/issues/126624)
- [`File::lock`]
  (https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.lock)
- [`File::lock_shared`]
  (https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.lock_shared)
- [`File::try_lock`]
  (https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.try_lock)
- [`File::try_lock_shared`]
  (https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.try_lock_shared)
- [`File::unlock`]
  (https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.unlock)
- [`NonNull::from_ref`]
  (https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.from_ref)
- [`NonNull::from_mut`]
  (https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.from_mut)
- [`NonNull::without_provenance`]
  (https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.without_provenance)
- [`NonNull::with_exposed_provenance`]
  (https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.with_exposed_provenance)
- [`NonNull::expose_provenance`]
  (https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.expose_provenance)
- [`OsString::leak`]
  (https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.leak)
- [`PathBuf::leak`]
  (https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#method.leak)
- [`Result::flatten`]
  (https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.flatten)
- [`std::os::linux::net::TcpStreamExt::quickack`]
  (https://doc.rust-lang.org/stable/std/os/linux/net/trait.TcpStreamExt.html#tymethod.quickack)
- [`std::os::linux::net::TcpStreamExt::set_quickack`]
  (https://doc.rust-lang.org/stable/std/os/linux/net/trait.TcpStreamExt.html#tymethod.set_quickack)

These previously stable APIs are now stable in const contexts:

- [`<[T; N]>::as_mut_slice`]
  (https://doc.rust-lang.org/stable/std/primitive.array.html#method.as_mut_slice)
- [`<[u8]>::eq_ignore_ascii_case`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-%5Bu8%5D/method.eq_ignore_ascii_case)
- [`str::eq_ignore_ascii_case`]
  (https://doc.rust-lang.org/stable/std/primitive.str.html#impl-str/method.eq_ignore_ascii_case)

Cargo
-----
- [`cargo fix` and `cargo clippy --fix` now default to the same
  Cargo target selection as other build commands.]
  (https://github.com/rust-lang/cargo/pull/15192/) Previously it
  would apply to all targets (like binaries, examples, tests, etc.).
  The `--edition` flag still applies to all targets.

- [Stabilize doctest-xcompile.]
  (https://github.com/rust-lang/cargo/pull/15462/) Doctests are
  now tested when cross-compiling. Just like other tests, it will
  use the [`runner` setting]
  (https://doc.rust-lang.org/cargo/reference/config.html#targettriplerunner)
  to run the tests. If you need to disable tests for a target, you
  can use the [ignore doctest attribute]
  (https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html#ignoring-targets)
  to specify the targets to ignore.

Rustdoc
-----
- [On mobile, make the sidebar full width and linewrap]
  (https://github.com/rust-lang/rust/pull/139831). This makes long
  section and item names much easier to deal with on mobile.

Compatibility Notes
-------------------
- [Make `missing_fragment_specifier` an unconditional error]
  (https://github.com/rust-lang/rust/pull/128425)
- [Enabling the `neon` target feature on `aarch64-unknown-none-softfloat`
  causes a warning]
  (https://github.com/rust-lang/rust/pull/135160) because mixing
  code with and without that target feature is not properly supported
  by LLVM
- [Sized Hierarchy: Part I](https://github.com/rust-lang/rust/pull/137944)
  - Introduces a small breaking change affecting `?Sized` bounds
    on impls on recursive types which contain associated type
    projections. It is not expected to affect any existing published
    crates. Can be fixed by refactoring the involved types or opting
    into the `sized_hierarchy` unstable feature. See the [FCP report]
    (https://github.com/rust-lang/rust/pull/137944#issuecomment-2912207485)
    for a code example.
- The warn-by-default `elided_named_lifetimes` lint is [superseded
  by the warn-by-default `mismatched_lifetime_syntaxes` lint.]
  (https://github.com/rust-lang/rust/pull/138677)
- [Error on recursive opaque types earlier in the type checker]
  (https://github.com/rust-lang/rust/pull/139419)
- [Type inference side effects from requiring element types of
  array repeat expressions are `Copy` are now only available at the
  end of type checking]
  (https://github.com/rust-lang/rust/pull/139635)

- [The deprecated accidentally-stable
  `std::intrinsics::{copy,copy_nonoverlapping,write_bytes}` are now
  proper intrinsics]
  (https://github.com/rust-lang/rust/pull/139916). There are no
  debug assertions guarding against UB, and they cannot be coerced
  to function pointers.
- [Remove long-deprecated `std::intrinsics::drop_in_place`]
  (https://github.com/rust-lang/rust/pull/140151)
- [Make well-formedness predicates no longer coinductive]
  (https://github.com/rust-lang/rust/pull/140208)
- [Remove hack when checking impl method compatibility]
  (https://github.com/rust-lang/rust/pull/140557)
- [Remove unnecessary type inference due to built-in trait object impls]
  (https://github.com/rust-lang/rust/pull/141352)
- [Lint against "stdcall", "fastcall", and "cdecl" on non-x86-32 targets]
  (https://github.com/rust-lang/rust/pull/141435)
- [Future incompatibility warnings relating to the never type (`!`)
  are now reported in dependencies]
  (https://github.com/rust-lang/rust/pull/141937)
- [Ensure `std::ptr::copy_*` intrinsics also perform the static
  self-init checks]
  (https://github.com/rust-lang/rust/pull/142575)

Internal Changes
----------------

These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.

- [Correctly un-remap compiler sources paths with the `rustc-dev` component]
  (https://github.com/rust-lang/rust/pull/142377)


To generate a diff of this commit:
cvs rdiff -u -r1.346 -r1.347 pkgsrc/lang/rust/Makefile
cvs rdiff -u -r1.187 -r1.188 pkgsrc/lang/rust/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/lang/rust/patches/patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs
cvs rdiff -u -r1.3 -r0 \
    pkgsrc/lang/rust/patches/patch-library_stdarch_crates_std__detect_tests_cpu-detection.rs \
    pkgsrc/lang/rust/patches/patch-tests_assembly_targets_targets-elf.rs
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/rust/patches/patch-tests_assembly-llvm_targets_targets-elf.rs \
    pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.174_src_unix_bsd_netbsdlike_netbsd_riscv64.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_crypto_aria_aria.c \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_openssl_Configurations_10-main.conf \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_openssl_crypto_aria_aria.c \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_src_lib.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.109_build_find__normal.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.109_build_main.rs
cvs rdiff -u -r1.4 -r0 \
    pkgsrc/lang/rust/patches/patch-vendor_bytecount-0.6.8_src_lib.rs
cvs rdiff -u -r0 -r1.5 \
    pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.155_src_unix_solarish_mod.rs \
    pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.169_src_unix_solarish_mod.rs
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs \
    pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.170_src_unix_bsd_netbsdlike_netbsd_riscv64.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.17.0+1.1.1m_openssl_Configurations_10-main.conf \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.17.0+1.1.1m_openssl_crypto_aria_aria.c \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.17.0+1.1.1m_src_lib.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.4.2+3.4.1_openssl_Configurations_10-main.conf \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.4.2+3.4.1_openssl_crypto_aria_aria.c \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.4.2+3.4.1_src_lib.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.104_build_find__normal.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.104_build_main.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.108_build_find__normal.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.108_build_main.rs
cvs rdiff -u -r0 -r1.4 \
    pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.168_src_unix_solarish_mod.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_Configurations_10-main.conf \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_src_lib.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_find__normal.rs \
    pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_main.rs
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs

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

Modified files:

Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.346 pkgsrc/lang/rust/Makefile:1.347
--- pkgsrc/lang/rust/Makefile:1.346     Sun Oct  5 19:26:05 2025
+++ pkgsrc/lang/rust/Makefile   Sat Oct 18 17:14:35 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.346 2025/10/05 19:26:05 js Exp $
+# $NetBSD: Makefile,v 1.347 2025/10/18 17:14:35 he Exp $
 
-DISTNAME=      rustc-1.88.0-src
+DISTNAME=      rustc-1.90.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
-PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  https://static.rust-lang.org/dist/
 
@@ -53,6 +52,15 @@ CONFIGURE_ARGS+=     --dist-compression-form
 CONFIGURE_ARGS+=       --set dist.vendor=false
 
 REPLACE_BASH+=         library/portable-simd/subtree-sync.sh
+CB=                    library/compiler-builtins
+REPLACE_BASH+=         ${CB}/ci/bench-icount.sh
+REPLACE_BASH+=         ${CB}/ci/miri.sh
+REPLACE_BASH+=         ${CB}/ci/run-docker.sh
+REPLACE_BASH+=         ${CB}/ci/run-extensive.sh
+REPLACE_BASH+=         ${CB}/ci/run.sh
+
+REPLACE_PYTHON+=       ${CB}/ci/ci-util.py
+REPLACE_PYTHON+=       ${CB}/etc/update-api-list.py
 
 # Include (optional) settings to cross-build rust
 .include "cross.mk"
@@ -229,49 +237,49 @@ BUILDLINK_TRANSFORM+=     opt:x86_64:arm64
 DISTFILES:=            ${DEFAULT_DISTFILES}
 
 .if ${MACHINE_PLATFORM:MDarwin-*-aarch64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.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
 DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MDarwin-*-x86_64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.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
 DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-aarch64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.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
 DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-earmv6hf} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.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
 DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-earmv7hf} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.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
 DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-i386} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.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
 DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MLinux-*-x86_64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.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
@@ -283,7 +291,7 @@ DISTFILES:=         ${DISTFILES} ${RUST_STAGE0}
 # x86_64-sun-solaris bootstrap and comment out the overrides.
 #
 .if ${MACHINE_PLATFORM:MSunOS-*-x86_64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.85.1
 RUST_ARCH:=            x86_64-unknown-illumos
 RUST_STAGE0:=          rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 SITES.${RUST_STAGE0}=  https://us-central.manta.mnx.io/pkgsrc/public/pkg-bootstraps/
@@ -296,14 +304,14 @@ CONFIGURE_ARGS+=  --host=${RUST_ARCH}
 CONFIGURE_ARGS+=       --target=${RUST_ARCH}
 .endif
 .if ${MACHINE_PLATFORM:MFreeBSD-*-x86_64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.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
 DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-i386} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.0
 RUST_ARCH=             i586-unknown-netbsd
 RUST_STAGE0:=          rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=      rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
@@ -323,14 +331,14 @@ pre-build-fix-paxctl:
        ${TOOLS_PLATFORM.paxctl} +am ${WRKDIR}/rust-bootstrap/bin/rustc
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-x86_64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.87.0
+RUST_STAGE0_VER=       1.89.0
 RUST_ARCH=             x86_64-unknown-netbsd
 RUST_STAGE0:=          rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=      rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-powerpc} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=               1.87.0
+RUST_STAGE0_VER=               1.89.0
 RUST_ARCH=                     powerpc-unknown-netbsd
 RUST_STAGE0:=                  rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=              rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
@@ -339,7 +347,7 @@ SITES.${RUST_STAGE0}=               ${MASTER_SITE_LOC
 SITES.${RUST_STD_STAGE0}=      ${MASTER_SITE_LOCAL:=rust/}
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-aarch64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=               1.87.0
+RUST_STAGE0_VER=               1.89.0
 RUST_ARCH=                     aarch64-unknown-netbsd
 RUST_STAGE0:=                  rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=              rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
@@ -347,17 +355,17 @@ DISTFILES:=                       ${DISTFILES} ${RUST_STAGE0
 SITES.${RUST_STAGE0}=          ${MASTER_SITE_LOCAL:=rust/}
 SITES.${RUST_STD_STAGE0}=      ${MASTER_SITE_LOCAL:=rust/}
 .endif
-.if ${MACHINE_PLATFORM:MNetBSD-*-aarch64eb} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=               1.87.0
-RUST_ARCH=                     aarch64_be-unknown-netbsd
-RUST_STAGE0:=                  rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
-RUST_STD_STAGE0:=              rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
-DISTFILES:=                    ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
-SITES.${RUST_STAGE0}=          ${MASTER_SITE_LOCAL:=rust/}
-SITES.${RUST_STD_STAGE0}=      ${MASTER_SITE_LOCAL:=rust/}
-.endif
+#.if ${MACHINE_PLATFORM:MNetBSD-*-aarch64eb} || make(distinfo) || make (makesum) || make(mdi)
+#RUST_STAGE0_VER=              1.89.0
+#RUST_ARCH=                    aarch64_be-unknown-netbsd
+#RUST_STAGE0:=                 rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
+#RUST_STD_STAGE0:=             rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
+#DISTFILES:=                   ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
+#SITES.${RUST_STAGE0}=         ${MASTER_SITE_LOCAL:=rust/}
+#SITES.${RUST_STD_STAGE0}=     ${MASTER_SITE_LOCAL:=rust/}
+#.endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-sparc64} || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=               1.87.0
+RUST_STAGE0_VER=               1.89.0
 RUST_ARCH=                     sparc64-unknown-netbsd
 RUST_STAGE0:=                  rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=              rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
@@ -367,7 +375,7 @@ SITES.${RUST_STD_STAGE0}=   ${MASTER_SITE_
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-earmv7hf} || make(distinfo) || make (makesum) || make(mdi)
 RUST_ARCH=                     armv7-unknown-netbsd-eabihf
-RUST_STAGE0_VER=               1.87.0
+RUST_STAGE0_VER=               1.89.0
 RUST_STAGE0:=                  rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=              rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 DISTFILES:=                    ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
@@ -376,7 +384,7 @@ SITES.${RUST_STD_STAGE0}=   ${MASTER_SITE_
 .endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-earmv6hf} || make(distinfo) || make (makesum) || make(mdi)
 RUST_ARCH=                     armv6-unknown-netbsd-eabihf
-RUST_STAGE0_VER=               1.87.0
+RUST_STAGE0_VER=               1.89.0
 RUST_STAGE0:=                  rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=              rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 DISTFILES:=                    ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
@@ -385,7 +393,7 @@ SITES.${RUST_STD_STAGE0}=   ${MASTER_SITE_
 .endif
 #.if ${MACHINE_PLATFORM:MNetBSD-*-mipsel} || make(distinfo) || make (makesum) || make(mdi)
 #RUST_ARCH=                    mipsel-unknown-netbsd
-#RUST_STAGE0_VER=              1.87.0
+#RUST_STAGE0_VER=              1.89.0
 #RUST_STAGE0:=                 rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 #RUST_STD_STAGE0:=             rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 #DISTFILES:=                   ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
@@ -394,7 +402,7 @@ SITES.${RUST_STD_STAGE0}=   ${MASTER_SITE_
 #.endif
 .if ${MACHINE_PLATFORM:MNetBSD-*-riscv64} || make(distinfo) || make (makesum) || make(mdi)
 RUST_ARCH=                     riscv64gc-unknown-netbsd
-RUST_STAGE0_VER=               1.87.0
+RUST_STAGE0_VER=               1.89.0
 RUST_STAGE0:=                  rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 RUST_STD_STAGE0:=              rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.xz
 DISTFILES:=                    ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
@@ -438,7 +446,7 @@ CKSUM_CRATES+=      vendor/crossbeam-utils-0.
 CKSUMS+=       31a8276afd38e39987a169eeb02e9bed32670de5ca36d7eb74aab7e506cf9dc4
 CKSUMS+=       ead4bda23c322bde8c01e48d4cd19b70e7b7e473a56466218d279f88463ab466
 
-CKSUM_CRATES+= vendor/openssl-src-300.4.2+3.4.1
+CKSUM_CRATES+= vendor/openssl-src-300.5.0+3.5.0
 CKSUMS+=       16c0b9fa70475cfb50ac21ad4ce049b494c45b3270fed386013785a28abb8d0a
 CKSUMS+=       6e30595035395b92291de1b59b6e7b3e19732f15a6012bfe0c239b62c8738225
 CKSUMS+=       6e62515e67910aea2f04b64c643aa2545732f9dd7bf0abf87d8accf8c2c1fb88
@@ -452,6 +460,12 @@ CKSUMS+=   fcfc15ca30e1f881ed46cf57597a72b
 CKSUMS+=       e6d478786035538d721d88b7736f602c965a38687a805cb377ebbe0ea1a14617
 CKSUMS+=       e2b2473bdf7ce5f854fcef6f07f984accc53b4382dba160d625c1fcbaba31612
 
+CKSUM_CRATES+= vendor/openssl-sys-0.9.109
+CKSUMS+=       112fcb6f18b81f31c23c60e7be5fddc87603c05a595f2e22b6e8f7ed2ea89e5f
+CKSUMS+=       023a3e755d7d4c5ca6e4f8ce7a8b1dc2dd1e50cbfcaa43cc6fe809b251ee7037
+CKSUMS+=       f66ce762ec63c28621a0d6d48bd5872b96e71f0bfb6f88576a6e2cba0c229e12
+CKSUMS+=       656834a8bd87476b074f36bcc2aeb33a74a0a0a6db5d140c35c4b3eb385afebe
+
 CKSUM_CRATES+= vendor/libc-0.2.155
 CKSUMS+=       3e550d95419169febf094c425451ca86b12821fa17839b4b0ba7520b145a5820
 CKSUMS+=       1cf38d9ddeca5295821b4234e17e1fc749f35b00307bdfdacb24c6892a288ad6
@@ -466,12 +480,6 @@ CKSUMS+=   55fb7f2c0877231286b2b6515e08eda
 CKSUMS+=       0b1936bad97b3a272c2d323d3435f6860fc355abe7603ca7ed8c4166cac75cc5
 CKSUMS+=       1eb383a057cdf2826d884b19142bf0b68b6b30c5bc20baf7ee10401a92a8ef22
 
-CKSUM_CRATES+= vendor/libc-0.2.170
-CKSUMS+=       f3778a9bd2ba923220537d167cfb10b91580ffbf583100789a46d2807f7a1e3e
-CKSUMS+=       2dc054435fd2976536b6685d66ba6796d4eb143885bd573e686e9b042ae7257a
-CKSUMS+=       27feafe043662f005d622502fbb31d99877c1ed8d83b30f350dafcdb513fee69
-CKSUMS+=       2dc054435fd2976536b6685d66ba6796d4eb143885bd573e686e9b042ae7257a
-
 CKSUM_CRATES+= vendor/libc-0.2.171
 CKSUMS+=       f3778a9bd2ba923220537d167cfb10b91580ffbf583100789a46d2807f7a1e3e
 CKSUMS+=       2dc054435fd2976536b6685d66ba6796d4eb143885bd573e686e9b042ae7257a
@@ -480,10 +488,16 @@ CKSUMS+=  2dc054435fd2976536b6685d66ba679
 
 CKSUM_CRATES+= vendor/libc-0.2.172
 CKSUMS+=       ec4c1dce83e8531df71b89e4aee1ab4d3b3b18d1b6d34b03d94573144c40e7c5
-CKSUMS+=       dc3179a14c65c5e3d250ce9819934236f11fc6c9bfa7afa8d4208931d28e4250
+CKSUMS+=       27a886823ba28aa0f5c2a55b325ad7df8c420cf1e92b050357a2411727a338e7
 CKSUMS+=       f3778a9bd2ba923220537d167cfb10b91580ffbf583100789a46d2807f7a1e3e
 CKSUMS+=       2dc054435fd2976536b6685d66ba6796d4eb143885bd573e686e9b042ae7257a
 
+CKSUM_CRATES+= vendor/libc-0.2.174
+CKSUMS+=       f3778a9bd2ba923220537d167cfb10b91580ffbf583100789a46d2807f7a1e3e
+CKSUMS+=       2dc054435fd2976536b6685d66ba6796d4eb143885bd573e686e9b042ae7257a
+CKSUMS+=       27feafe043662f005d622502fbb31d99877c1ed8d83b30f350dafcdb513fee69
+CKSUMS+=       2dc054435fd2976536b6685d66ba6796d4eb143885bd573e686e9b042ae7257a
+
 CKSUM_CRATES+= vendor/zerocopy-0.7.32
 CKSUMS+=       2f21f18a4ca1d4be2d997f037158cb21a7421b2ba2cc52f3e4c5f9410197ed27
 CKSUMS+=       abe079743c2b2dea5b2c42564f98741a5eb9e24ff019e01742ace5581e53c06f
@@ -504,10 +518,6 @@ CKSUMS+=   28d66e566b73f6f0f7add4092874dc9
 CKSUMS+=       44cd1a614bd66f1e66fc86c541d3c3b8d3a14a644c13e8bf816df3f555eac2d4
 CKSUMS+=       27f9bff08b24828e1a611b10a0282f5457d12e9e7254202040144d392297d720
 
-CKSUM_CRATES+= vendor/bytecount-0.6.8
-CKSUMS+=       01cd755a128d8a5892f3edda195b26bb461be375be17dd72e6e4f061169e6dff
-CKSUMS+=       7c6609685c161ac6b2c667f59bd6476c5c14c7269ec949fb2def5a0238198c25
-
 CKSUM_CRATES+= vendor/line-index-0.1.2
 CKSUMS+=       c4613b718951cf0b880a3a7829e102a9ec7196591437e3bc0cfd857c717bfb61
 CKSUMS+=       5183e802793932fb980b4e321656c65d1b6231de3febd1ac94dfa73de31245f0
@@ -620,7 +630,7 @@ do-install:
 # Turn off Address space layout randomization
 # so that we can build firefox natively:
 post-install:
-       paxctl +a ${DESTDIR}${PREFIX}/bin/rustc
+       paxctl +a ${DESTDIR}/${PREFIX}/bin/rustc
 .endif
 
 SUBST_CLASSES+=                destdir
@@ -681,8 +691,8 @@ stage0-bootstrap: install
        )
 .endif
 .if ${OS_VARIANT} == "SmartOS"
-       ${CP} -R ${DESTDIR}${PREFIX}/bin ${BOOTSTRAP_TMPDIR}/
-       ${CP} -R ${DESTDIR}${PREFIX}/lib ${BOOTSTRAP_TMPDIR}/
+       ${CP} -R ${DESTDIR}/${PREFIX}/bin ${BOOTSTRAP_TMPDIR}/
+       ${CP} -R ${DESTDIR}/${PREFIX}/lib ${BOOTSTRAP_TMPDIR}/
        ${MKDIR} ${BOOTSTRAP_TMPDIR}/lib/pkgsrc
        set -e; \
        for lib in libgcc_s.so.1 libstdc++.so.6; do \
@@ -693,9 +703,9 @@ stage0-bootstrap: install
                   libssl.so.3 libz.so.1 libzstd.so.1; do \
                ${CP} ${PREFIX}/lib/$${lib} ${BOOTSTRAP_TMPDIR}/lib/pkgsrc/; \
        done; \
-       for lib in libiconv.so.2 libidn2.so.0 libintl.so.8 \
-                  liblzma.so.5 libnghttp2.so.14 \
-                  libunistring.so.5 libxml2.so.16; do \
+       for lib in libiconv.so.2 libidn2.so.0 libintl.so.8 liblber.so.2 \
+                  libldap.so.2 liblzma.so.5 libnghttp2.so.14 libsasl2.so.3 \
+                  libssh2.so.1 libunistring.so.5 libxml2.so.16; do \
                ${CP} ${PREFIX}/lib/$${lib} ${BOOTSTRAP_TMPDIR}/lib/pkgsrc/; \
        done; \
        for f in ${BOOTSTRAP_TMPDIR}/bin/*; do \
@@ -760,4 +770,5 @@ TOOL_DEPENDS+=      cmake-[0-9]*:../../devel/
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../lang/python/tool.mk"
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/lang/rust/distinfo
diff -u pkgsrc/lang/rust/distinfo:1.187 pkgsrc/lang/rust/distinfo:1.188
--- pkgsrc/lang/rust/distinfo:1.187     Tue Aug 26 13:56:24 2025
+++ pkgsrc/lang/rust/distinfo   Sat Oct 18 17:14:35 2025
@@ -1,113 +1,107 @@
-$NetBSD: distinfo,v 1.187 2025/08/26 13:56:24 jperkin Exp $
+$NetBSD: distinfo,v 1.188 2025/10/18 17:14:35 he Exp $
 
-BLAKE2s (rust-1.87.0-aarch64-apple-darwin.tar.gz) = 10af213e2fc6ccea7f999047e1ef38941da5e046745e626a8c7e2f0ec8364d4c
-SHA512 (rust-1.87.0-aarch64-apple-darwin.tar.gz) = f13f1781ffb6496bdd66fcb9ad8d28343de6656c9bf642e3f1b8a187cc3198245c020624bb3fbee2e8d9b9ee3eade2331d95ff82d974e46781752c722939a353
-Size (rust-1.87.0-aarch64-apple-darwin.tar.gz) = 374337450 bytes
-BLAKE2s (rust-1.87.0-aarch64-unknown-linux-gnu.tar.gz) = 261e71aa52c842e6b89699ac0d4b1e00e3287707d69ee681d7458f70eed15fec
-SHA512 (rust-1.87.0-aarch64-unknown-linux-gnu.tar.gz) = 0afe841190c91a1dadf191cdc1ae661da54540ea3ba880fe60fe59da1059a1271122956623e6378be325d00842b77c1ff7ea4dec39f27c917a8acfba2f9d7d61
-Size (rust-1.87.0-aarch64-unknown-linux-gnu.tar.gz) = 314521673 bytes
-BLAKE2s (rust-1.87.0-aarch64-unknown-netbsd.tar.xz) = 82570b244a5f9b3f6c1ad94b87053bc481d3634d81be1bfd0d1fa61550e08e7e
-SHA512 (rust-1.87.0-aarch64-unknown-netbsd.tar.xz) = 5bdff7b24b3c53f679917aba1bc7e62d29979c42b601bf2797270e9f5282d32185ede43ed1edade274e4022caf0563280b7b9614f4872e9f82590a8ec9adf451
-Size (rust-1.87.0-aarch64-unknown-netbsd.tar.xz) = 232384708 bytes
-BLAKE2s (rust-1.87.0-aarch64_be-unknown-netbsd.tar.xz) = 761257d366e4c41adea1f5d9385e625d300b3105a6c78330c893e3940c67338a
-SHA512 (rust-1.87.0-aarch64_be-unknown-netbsd.tar.xz) = c94c84022d7164284cfd064ccb46477a695c3862011c0d5103d8826c7dec7ab8d57e29a5d39db5b4b9a679b328355311f92005aed5fed1dfa56ca89f40880e42
-Size (rust-1.87.0-aarch64_be-unknown-netbsd.tar.xz) = 232686736 bytes
-BLAKE2s (rust-1.87.0-arm-unknown-linux-gnueabihf.tar.gz) = 675bec26770c9854a201bee963b957c673c55bb4d5d94a565f5acc28973b6e9e
-SHA512 (rust-1.87.0-arm-unknown-linux-gnueabihf.tar.gz) = 1abc6fad81a58ad804c582c97d41adc58a386c8d65269dea137ddc467f40f4de7314c1e4e7647660433c96602b17fab86ed13543e29ed100cb6fff0393b4e7b2
-Size (rust-1.87.0-arm-unknown-linux-gnueabihf.tar.gz) = 427356121 bytes
-BLAKE2s (rust-1.87.0-armv6-unknown-netbsd-eabihf.tar.xz) = 3c1bc931314b52b7ead06d306fb654d6770bb9bc799f4353b5e6e0cf636ec68a
-SHA512 (rust-1.87.0-armv6-unknown-netbsd-eabihf.tar.xz) = cdb392feef760a0db0b907663542b40bafdbaffa089d2eec69b44e90a264197f331d5c1584e0c82115f8d7ac5efdd051bbb8b833ee2885abd5b28c214a78e027
-Size (rust-1.87.0-armv6-unknown-netbsd-eabihf.tar.xz) = 184519204 bytes
-BLAKE2s (rust-1.87.0-armv7-unknown-linux-gnueabihf.tar.gz) = c616e00ba6351b22b20d4326f975df08206f69140b957bf580755c66dde3dc4b
-SHA512 (rust-1.87.0-armv7-unknown-linux-gnueabihf.tar.gz) = e1a326747a0f1095c10397521740f6e4150ad357c77f2a08d863bc89858c7a21c8b45785da36e673cc2879f4470f4417e1937ec96d790c2918778e9d2c791c97
-Size (rust-1.87.0-armv7-unknown-linux-gnueabihf.tar.gz) = 412671226 bytes
-BLAKE2s (rust-1.87.0-armv7-unknown-netbsd-eabihf.tar.xz) = e2c52503a61857921f7f21e91df8c1199c2d8469cd8d821619fa71b6ffc75906
-SHA512 (rust-1.87.0-armv7-unknown-netbsd-eabihf.tar.xz) = 603b372ee88973ebd138c4885d6a2476da5551aca47429de19e460175c3a4b06fe103fc6100943e2dbbc08b27e082bfdc96e1ebec4afe0e3b002c36196f87d94
-Size (rust-1.87.0-armv7-unknown-netbsd-eabihf.tar.xz) = 185289080 bytes
-BLAKE2s (rust-1.87.0-i586-unknown-netbsd.tar.xz) = 0a538763c444d3608328ffa92958c690a29f3cd8dbc198ceca04737f2f3d25f5
-SHA512 (rust-1.87.0-i586-unknown-netbsd.tar.xz) = 8230d4be392ecb2d8725fc101340f9412d18feea2c70d5d9eb5f3c492a347b445c5bcf6ac043e7349388741f9946868ee01f0766c9e549174dd287a76c596f30
-Size (rust-1.87.0-i586-unknown-netbsd.tar.xz) = 254600640 bytes
-BLAKE2s (rust-1.87.0-i686-unknown-linux-gnu.tar.gz) = 905fe3c2c247c27c2e58af0f9847d0248c6bf434f4d2b0830f88a304a58f0923
-SHA512 (rust-1.87.0-i686-unknown-linux-gnu.tar.gz) = 770747c0d32d358e9607407c32fa357f0f955bce430f5934e9906473ef227452873ad5ff4f7218e22107048efee7a8dd4d59fa2bb0b1be0074892d452ab81f7e
-Size (rust-1.87.0-i686-unknown-linux-gnu.tar.gz) = 486242931 bytes
-BLAKE2s (rust-1.87.0-powerpc-unknown-netbsd.tar.xz) = c3a36716ce24205ea2591353b1f193dc891af1486c5724bac521c21f13d89eb6
-SHA512 (rust-1.87.0-powerpc-unknown-netbsd.tar.xz) = aa20d1e833f79fa1498ea67662fb5a43dbeba2c542d0ed1c3a6886917e2bea1c1e4b69c83e9fedc30aa5e454343c18332c9033a0837030dded029640e99ae077
-Size (rust-1.87.0-powerpc-unknown-netbsd.tar.xz) = 265863956 bytes
-BLAKE2s (rust-1.87.0-riscv64gc-unknown-netbsd.tar.xz) = 0bfa5d6f2352d83fd2d619c6ad3a83e067f1afbbe96f7e0d1d14464efb022106
-SHA512 (rust-1.87.0-riscv64gc-unknown-netbsd.tar.xz) = 178a8115a7559012436029daa7f0716a4b09d3ad2866cf93f02b892b80c5efcc7d62e6e3b40bfb93f1e8d6124fc1d6cdb2b2f09bb7611c3835f9f62d871d1602
-Size (rust-1.87.0-riscv64gc-unknown-netbsd.tar.xz) = 253079552 bytes
-BLAKE2s (rust-1.87.0-sparc64-unknown-netbsd.tar.xz) = e1f1e5a84ca8758d2c34cd3413488937fbaa86f10e306e2220c265a214066fd1
-SHA512 (rust-1.87.0-sparc64-unknown-netbsd.tar.xz) = 89b482559b8418f46696d52bce6f40fc2235137ac80e8796ba8025cc3edd27e386f49a90917b712ae006c70c4b6133ec1a802ab4f4950d5fb76ff723c0199384
-Size (rust-1.87.0-sparc64-unknown-netbsd.tar.xz) = 227545816 bytes
-BLAKE2s (rust-1.87.0-x86_64-apple-darwin.tar.gz) = c9d957c710c7f6d0b23d92f03a47021d3e5ed59ab25901efeddf32ba4aeea31f
-SHA512 (rust-1.87.0-x86_64-apple-darwin.tar.gz) = c8c894450888a8d073ab99890cdf560a094b663b7e376211a1f7c5c5f3ab952f115ff779497ab4f567e24eaed08b4334ea4be1889474291369e2dae08995ca4e
-Size (rust-1.87.0-x86_64-apple-darwin.tar.gz) = 386517789 bytes
-BLAKE2s (rust-1.87.0-x86_64-unknown-freebsd.tar.gz) = be9f43f7e6c297911fd2fa1211d1ca69b6a8bae15ad8f8cbec4f1b5d6df7ab2c
-SHA512 (rust-1.87.0-x86_64-unknown-freebsd.tar.gz) = e61e195b3b468250776efc6230ec788497654d160f5ae26d9568f3a40e2e82a1520de9357255d63124601028398e6f32fcfe276e349456210c86f60a00be7397
-Size (rust-1.87.0-x86_64-unknown-freebsd.tar.gz) = 374981980 bytes
-BLAKE2s (rust-1.87.0-x86_64-unknown-illumos.tar.gz) = fc109a019f2c469e6989179c779d47be79fd39215c2c02a8589f3f5d4e907f8e
-SHA512 (rust-1.87.0-x86_64-unknown-illumos.tar.gz) = 220110cad2d04a51307d4e57c8f0e3c674de13528a73cdbca5bf899de325481ac3f7ef652e58031931887a6ff18a43df64b9de75a104cbde071917c0f3bbfaee
-Size (rust-1.87.0-x86_64-unknown-illumos.tar.gz) = 239905107 bytes
-BLAKE2s (rust-1.87.0-x86_64-unknown-linux-gnu.tar.gz) = d6c8c9e0223122a73ceba3de013cfc0d88511d23d9d5e05d14c7f006e99e9fe6
-SHA512 (rust-1.87.0-x86_64-unknown-linux-gnu.tar.gz) = eb6b45f768c36cbbfacd0ca27cb2ecf73afda602de442b55d44c2cc0c14dfcf068a0aea9492ee21aa03f5cc121dc3411b861814fa55aa9f709d358ba50987c16
-Size (rust-1.87.0-x86_64-unknown-linux-gnu.tar.gz) = 359529223 bytes
-BLAKE2s (rust-1.87.0-x86_64-unknown-netbsd.tar.xz) = ca35fc2476f3be2b041754edb9f1fe4c4054dab3ef5cbec5ecf4abd78884863a
-SHA512 (rust-1.87.0-x86_64-unknown-netbsd.tar.xz) = 1ef21efd8901332815ace1a9a7537bf21280e023517b1d0d5bd39f683488b30132d7cedbb1274094cc4c73b33e25a6b0425aaa10f55bfc0162ee781c2f2157ad
-Size (rust-1.87.0-x86_64-unknown-netbsd.tar.xz) = 227431084 bytes
-BLAKE2s (rust-std-1.87.0-aarch64-apple-darwin.tar.gz) = 555d0830fe243d9230301680dfa78e7dcad6daea1f9886217a682a32feac5623
-SHA512 (rust-std-1.87.0-aarch64-apple-darwin.tar.gz) = 5dfd3a4b22668c0f64142621912ff15d54cef0876eef6e58ef0d5580db8100a30bf60d3118ddefc0c6fb420227d09177db177144b094c45854bd9ce5e148dbf9
-Size (rust-std-1.87.0-aarch64-apple-darwin.tar.gz) = 43760053 bytes
-BLAKE2s (rust-std-1.87.0-aarch64-unknown-linux-gnu.tar.gz) = 579c5f48ae9527dd5a257c34d2f84bb0145a894ea862116b7374ae632fb11318
-SHA512 (rust-std-1.87.0-aarch64-unknown-linux-gnu.tar.gz) = d420d8db292557edede6cc19f6040369028d676c05db8e4086889f461c3a97cf8bcd99c10a970c64743ec2b38d0cc8049a4b2d18d4c9c848d88c42e35a27ad4d
-Size (rust-std-1.87.0-aarch64-unknown-linux-gnu.tar.gz) = 48130414 bytes
-BLAKE2s (rust-std-1.87.0-aarch64-unknown-netbsd.tar.xz) = d45af9444ef1289299bc0478c789528edbe83fb480843b83a951f0aadf70a1a1
-SHA512 (rust-std-1.87.0-aarch64-unknown-netbsd.tar.xz) = 25c7b62086f9d9e7af5e584cfbc76b3841422e42cbaf483e9c5970d3c40d725bfe8e080db50cc612b4fafda84859aad45023322f9d94958e1a557026b25a7c0f
-Size (rust-std-1.87.0-aarch64-unknown-netbsd.tar.xz) = 24899524 bytes
-BLAKE2s (rust-std-1.87.0-aarch64_be-unknown-netbsd.tar.xz) = 9833eda3523bfd5e082b5af692dc80c6d88989a91131c5b818a90535836705bd
-SHA512 (rust-std-1.87.0-aarch64_be-unknown-netbsd.tar.xz) = b3da6b52a9a11b7530e7effdc6879ae14deb51879e19e737f0e587a83db6d2d0282f21b2518ca66c6e60dc54ef03c037bb697e0be9d5f263961e06f1f523b358
-Size (rust-std-1.87.0-aarch64_be-unknown-netbsd.tar.xz) = 24860892 bytes
-BLAKE2s (rust-std-1.87.0-arm-unknown-linux-gnueabihf.tar.gz) = b5d84ecba2f104a70a61843fca044d1fd25d1bd434cbb6b9be1c3a2696aa2bfd
-SHA512 (rust-std-1.87.0-arm-unknown-linux-gnueabihf.tar.gz) = 33de3a68cfb84cac7e5d8c4198576b703850a83887ba81223d83fe96a4a784ada23ca9f4ce345c9ae928171db588b93f42820498bc49b2179726c0313e97a435
-Size (rust-std-1.87.0-arm-unknown-linux-gnueabihf.tar.gz) = 39997081 bytes
-BLAKE2s (rust-std-1.87.0-armv6-unknown-netbsd-eabihf.tar.xz) = a9dfc4215a2d73041ec16e4c3aa500220d8342e7069432c8414e6efc00b0e146
-SHA512 (rust-std-1.87.0-armv6-unknown-netbsd-eabihf.tar.xz) = 9ed20f5609661d06bb3da59516f71464b35c3801cf186ede120e53427b25515b5ea21a3d6a413de524a21dcf2820b2a748c08b58bf90da7d5820c7309215d87d
-Size (rust-std-1.87.0-armv6-unknown-netbsd-eabihf.tar.xz) = 22882800 bytes
-BLAKE2s (rust-std-1.87.0-armv7-unknown-linux-gnueabihf.tar.gz) = b1307151e48391cd9dae0aeb5170431f4c77c5d148674fa5f5414abd1dfb2f6a
-SHA512 (rust-std-1.87.0-armv7-unknown-linux-gnueabihf.tar.gz) = ac6f1431f61f70b09a9b3198fae8a38125292d336a023478e979d4d16cd1a7688950b15af6f2fb1d4ae850cd001a1d94799170a895a2fd4fb4991d4fc5faf8b8
-Size (rust-std-1.87.0-armv7-unknown-linux-gnueabihf.tar.gz) = 41519171 bytes
-BLAKE2s (rust-std-1.87.0-armv7-unknown-netbsd-eabihf.tar.xz) = 532077709d42e2bf56be102cf41ce4154c58fa39b34eb84d5df3d1a9855fa20f
-SHA512 (rust-std-1.87.0-armv7-unknown-netbsd-eabihf.tar.xz) = 3747b2e17b2615bdb452ea961263506ba232d970539cd80b6c507dd8f9b87ccb2dfc783a682aa810209f3f97b40186ffce2fa08739dae87024f5e857adb7b4cd
-Size (rust-std-1.87.0-armv7-unknown-netbsd-eabihf.tar.xz) = 24056840 bytes
-BLAKE2s (rust-std-1.87.0-i586-unknown-netbsd.tar.xz) = 3fda3f976f9f974f77023b5ce1596bac2c5c66f81a0f02b22ed528492ae7e91c
-SHA512 (rust-std-1.87.0-i586-unknown-netbsd.tar.xz) = 9c3c573dc8c82e96dbc23c9cdb95972029bd621bd6cf936acf0f3cb28b9e753de315323f7eca9b6423e0ca59f574405c24200cee65d617c21ed4021e6ab120f1
-Size (rust-std-1.87.0-i586-unknown-netbsd.tar.xz) = 25634492 bytes
-BLAKE2s (rust-std-1.87.0-i686-unknown-linux-gnu.tar.gz) = 6cf96180bb4c51a716c89f34f6663ce84637d4590ad620243f3909473cb7589f
-SHA512 (rust-std-1.87.0-i686-unknown-linux-gnu.tar.gz) = 6a363efff33894aa183672803f492faa06ea8e6229e374df0b57fd4828b61907491e890ccfc9014db0b8aee3223496ac49314b8b2142a63b6edcb0a2fe2bf205
-Size (rust-std-1.87.0-i686-unknown-linux-gnu.tar.gz) = 44113612 bytes
-BLAKE2s (rust-std-1.87.0-powerpc-unknown-netbsd.tar.xz) = 492b69696661e58b7825f721a916f9c9d2c0a6c467297959b97af266276b3aae
-SHA512 (rust-std-1.87.0-powerpc-unknown-netbsd.tar.xz) = 6227716a69637f7981ae907384cc7f7f97dcdafac099f4adc097ea0ac52da3f13ba0188866e9e2b1169451c8e5538ed68af1328502fdf5a41a033556bcd5bf65
-Size (rust-std-1.87.0-powerpc-unknown-netbsd.tar.xz) = 23300168 bytes
-BLAKE2s (rust-std-1.87.0-riscv64gc-unknown-netbsd.tar.xz) = 3ecb9b281527598980139d2cdff57f8a7d88c16b44b88226dbc1f9444dd80645
-SHA512 (rust-std-1.87.0-riscv64gc-unknown-netbsd.tar.xz) = 1956798c94c20b811f38f78e5b73b354757da827c8745e94648153e5983ebb29e208fcca2e04fd1ed84ba3020ee7e68e6713a14ac3eb77c7e3854d014ed005a6
-Size (rust-std-1.87.0-riscv64gc-unknown-netbsd.tar.xz) = 23405780 bytes
-BLAKE2s (rust-std-1.87.0-sparc64-unknown-netbsd.tar.xz) = 8b35c6ccb62a49a87d57f281c8c11aeff3d391955d191c09483e4fa8ed96cdf2
-SHA512 (rust-std-1.87.0-sparc64-unknown-netbsd.tar.xz) = 47b1a8ff8724e5ef14ddf03cd42d21b3fced0ef20b7f54a2b9e5399a7ac8e30f91a331fe5d35ac347d768b7b1e38f0f0f59e35848bc32b0f65efee2662d97713
-Size (rust-std-1.87.0-sparc64-unknown-netbsd.tar.xz) = 22955024 bytes
-BLAKE2s (rust-std-1.87.0-x86_64-apple-darwin.tar.gz) = d4c8ae1366248494765e7e82cdf5bbeabedbdb34601b60615d9b7d127d1545c3
-SHA512 (rust-std-1.87.0-x86_64-apple-darwin.tar.gz) = 73e0683df73d0f5ed8932b9d49692778a393cf3d6601283e18111227421bf1fa674e0096316f7dc48a7dabf4914d587a3bc2d60df6fbe7f3dfb97824b57ddf1f
-Size (rust-std-1.87.0-x86_64-apple-darwin.tar.gz) = 46159992 bytes
-BLAKE2s (rust-std-1.87.0-x86_64-unknown-freebsd.tar.gz) = bb0cc3a86209172b283d74bb2456cf118ea4fe8bcc3ba4d6b757f2d7e6fadf17
-SHA512 (rust-std-1.87.0-x86_64-unknown-freebsd.tar.gz) = 1884f6d7741ed2c995fe313573e9528c57374a63b83417444531d02b76841261cb09e64bc8e6239d4738d3ebc6f4a4aafe727d8be4d5b89da003576d62ed8a93
-Size (rust-std-1.87.0-x86_64-unknown-freebsd.tar.gz) = 47539890 bytes
-BLAKE2s (rust-std-1.87.0-x86_64-unknown-linux-gnu.tar.gz) = ef042489d26ba670a113afb8804a60e41e32d27ade2c31ed00a5cc3f29372523
-SHA512 (rust-std-1.87.0-x86_64-unknown-linux-gnu.tar.gz) = 8e7c5b33f3433e6e170a8a9a7d80aad760a991758e25a2678bb991656484d8c97d3d99e33724945e0320a6e9ae57be1e90d5cd30331b33dc5df703711279a186
-Size (rust-std-1.87.0-x86_64-unknown-linux-gnu.tar.gz) = 49935889 bytes
-BLAKE2s (rust-std-1.87.0-x86_64-unknown-netbsd.tar.xz) = a8451ed0b02eee8623089643083af4e58514269b2586ed2c76f5239f0115af3f
-SHA512 (rust-std-1.87.0-x86_64-unknown-netbsd.tar.xz) = 2052835f9664df865332f3986cca586fc089e02d5f220aa02e02a55b256288d6d4b992d65f37823418f602332f050511131937d2e844ff3ce4f74f77d2611d75
-Size (rust-std-1.87.0-x86_64-unknown-netbsd.tar.xz) = 28438524 bytes
-BLAKE2s (rustc-1.88.0-src.tar.gz) = e64f98cb5ccadbb6e16d10e454d9e6cb558bbecf172145f5346c604c475593c7
-SHA512 (rustc-1.88.0-src.tar.gz) = eda47885ca9d6431a55cc1a1890272bde845d83d3963143837e8bc95fcd636cb09892a9139e8e0b29da866b7ba67b77b0263ef910d96726e6331c6ce09f2929d
-Size (rustc-1.88.0-src.tar.gz) = 613378400 bytes
+BLAKE2s (rust-1.85.1-x86_64-unknown-illumos.tar.gz) = 2b5ddc732b2bcc18ce012bd94a0185ee98870624b10e8918e88c451ad75a8998
+SHA512 (rust-1.85.1-x86_64-unknown-illumos.tar.gz) = 0517c342dbdd1477c610c505c2fc0b1c03eede445fc9008c4fb807dd7041b84fab5c23616d2261bc80939a39089665e27d54d8db9f9da73836522f1e69567ae0
+Size (rust-1.85.1-x86_64-unknown-illumos.tar.gz) = 235777837 bytes
+BLAKE2s (rust-1.89.0-aarch64-apple-darwin.tar.gz) = f88fb0fd3e1204d91dc89948bc6ae38fd212d36d2973521bc3d47e72c6d13456
+SHA512 (rust-1.89.0-aarch64-apple-darwin.tar.gz) = e9ec8d8f60d1f38e01e389ec5d4f45f22c186b0fde9e2f68b7e869f4f2e54d049f7790d6863a85ad9335d317668dea52a39f055b2e30f17a0c3824d9f01d2ab8
+Size (rust-1.89.0-aarch64-apple-darwin.tar.gz) = 373434102 bytes
+BLAKE2s (rust-1.89.0-aarch64-unknown-linux-gnu.tar.gz) = d80ee24e49987c3fc27430756e193cfb5689216fbc058e209219a6cd23334f9b
+SHA512 (rust-1.89.0-aarch64-unknown-linux-gnu.tar.gz) = ff91c543378b878612b8fd23ba2bf25381249784b8d5ec8f2ba1473b8155ccf4c63733c388f5c76da6efa537d9973335d8028a0eec74f7be63dcb2f1df99189d
+Size (rust-1.89.0-aarch64-unknown-linux-gnu.tar.gz) = 314865943 bytes
+BLAKE2s (rust-1.89.0-aarch64-unknown-netbsd.tar.xz) = c208ff076c4dcdf7c754cd90ed576faa91c9c601bfef6eb9bf89ca4d1d382ef2
+SHA512 (rust-1.89.0-aarch64-unknown-netbsd.tar.xz) = 6d594722806cf2fd0377a0bc35cbba1a3e2affa3b4b8c9a7089c3c3e14ed6a20a40cf99aca5f70d383c8b8ab511c8dfafd3fccfaa73c13410c50c588361c8a79
+Size (rust-1.89.0-aarch64-unknown-netbsd.tar.xz) = 233551516 bytes
+BLAKE2s (rust-1.89.0-arm-unknown-linux-gnueabihf.tar.gz) = 65fc1abd4720b086011797bcbe0abaee86e4ac2ea63918a98db026a7b32826e2
+SHA512 (rust-1.89.0-arm-unknown-linux-gnueabihf.tar.gz) = a988c4ac4bad263c5b61bb5c2a167b121fdbebb4759c179e8ae94d6e5228a788a3e957a47fff514e74d0f62b9a969d06433cf5209d229fc1a6afe9232149822c
+Size (rust-1.89.0-arm-unknown-linux-gnueabihf.tar.gz) = 427720409 bytes
+BLAKE2s (rust-1.89.0-armv6-unknown-netbsd-eabihf.tar.xz) = 51122cc13ae167960d5e6519c3325273fa90b80f0efe5fac29b53ca87569ba31
+SHA512 (rust-1.89.0-armv6-unknown-netbsd-eabihf.tar.xz) = 5c1133d05478e56d5e595171ddc2f5a59a7f055eb7471fcd1019612e15a6809591ed410221713f25c9f394fa12276626bbbb4a01e2a62d0e6d710c8713268250
+Size (rust-1.89.0-armv6-unknown-netbsd-eabihf.tar.xz) = 184450308 bytes
+BLAKE2s (rust-1.89.0-armv7-unknown-linux-gnueabihf.tar.gz) = 3470c6eb7defb021189c7ed2ad0bbf9cb1f9d8a9d20a094c61c38b8e2c4afd26
+SHA512 (rust-1.89.0-armv7-unknown-linux-gnueabihf.tar.gz) = cd4c35b0efab06e6a1a7aa24dc7d81b4366ec8ea5b4641f35eaaced9601bebf80aedefc7b8169237b09eeff4588d18cc61b7ad2c047cdff8b3e8e1045c92fbe9
+Size (rust-1.89.0-armv7-unknown-linux-gnueabihf.tar.gz) = 413053494 bytes
+BLAKE2s (rust-1.89.0-armv7-unknown-netbsd-eabihf.tar.xz) = a15dc373d32a79f99d0cb32321240099c45b11dbb17a9c4319d1e2a415a2ff40
+SHA512 (rust-1.89.0-armv7-unknown-netbsd-eabihf.tar.xz) = ee6cbd030c734a152a44c002d52f742860d634cce29c6ef1dfcd1b634885370af14c046bf77eb7cd7a2134255d409842463035848f0e06a4b34c1dabdf2a6ec4
+Size (rust-1.89.0-armv7-unknown-netbsd-eabihf.tar.xz) = 187892904 bytes
+BLAKE2s (rust-1.89.0-i586-unknown-netbsd.tar.xz) = 29c43f217418a94781746d67dd51a764f128f1f92a866694e2f5302660da54d2
+SHA512 (rust-1.89.0-i586-unknown-netbsd.tar.xz) = 98ea9f1e441c8eb2faf1b282e13a77eb107692daaaee7c195bb1d90bf288f15b9281565895f3db992a9208e368bbd553ba4c6f8423923dcf505bff71733bfa24
+Size (rust-1.89.0-i586-unknown-netbsd.tar.xz) = 255974156 bytes
+BLAKE2s (rust-1.89.0-i686-unknown-linux-gnu.tar.gz) = c08e27898ab618fa9ec1e4d1f1a10de4cca36123c46960174ec1c9ceda3dfaeb
+SHA512 (rust-1.89.0-i686-unknown-linux-gnu.tar.gz) = be61dd6de37d3516700ca071182564ac4083523a03cc268ca4b7519cea7fb7487a027066988cd5ffc30de50c8de8d3e47f72d5af77d9f19a8f4e3d8fe9d41fc2
+Size (rust-1.89.0-i686-unknown-linux-gnu.tar.gz) = 486524026 bytes
+BLAKE2s (rust-1.89.0-powerpc-unknown-netbsd.tar.xz) = ce65abcf97e076541fdbf2a1bfaa31965b829669a1f927a16eb02ac4a15d8cce
+SHA512 (rust-1.89.0-powerpc-unknown-netbsd.tar.xz) = 1ecfe2d686fa984995e0b65a2f3944eeb5f476df0560610bc4f3a57bcd5a2fb07c8844f04a32a3dd39ecb76177c18dbc0ddf20a084fb44e7b9aa0d07b0c85ef8
+Size (rust-1.89.0-powerpc-unknown-netbsd.tar.xz) = 267883968 bytes
+BLAKE2s (rust-1.89.0-riscv64gc-unknown-netbsd.tar.xz) = 12b1cce5af3ab063d5c5c1531c9fb5b0320adf841e2ebcf9e1c8264d9f377620
+SHA512 (rust-1.89.0-riscv64gc-unknown-netbsd.tar.xz) = ad80fce54f16e04e3080050cbf0888fb2467e06991c7fd1dce5ab6354a6f553bb04d8e238d8ec6ee66b416e98fc10da7e2d0bb1d9c2b92938b7fbc17c6a85e80
+Size (rust-1.89.0-riscv64gc-unknown-netbsd.tar.xz) = 253646400 bytes
+BLAKE2s (rust-1.89.0-sparc64-unknown-netbsd.tar.xz) = 0873d30b83fd5b1638de7938c1890251626852686c0c6347d251c6e9fdee4e18
+SHA512 (rust-1.89.0-sparc64-unknown-netbsd.tar.xz) = 8d4302f511048d92c4e548a7bd2722ff778c6ba6a35beec1eb7962d4028cbe0d30440b3faa414c2116ef24d1c930a49f6f21a85397d54148b43f7212779cf4de
+Size (rust-1.89.0-sparc64-unknown-netbsd.tar.xz) = 228527260 bytes
+BLAKE2s (rust-1.89.0-x86_64-apple-darwin.tar.gz) = 27d5c0c51a92c8a436dfdd99b4a54f8c77d90e60acfaabf5bf9a0ca654e0371f
+SHA512 (rust-1.89.0-x86_64-apple-darwin.tar.gz) = 088907cdd769ed57da7b89096fc6ab90ba85dc829d9ffe6e7bc57a84396e17b282da7bc5b46fde7e1d70163d894e851159d868eba83e6c7a3e0739cfd0964acd
+Size (rust-1.89.0-x86_64-apple-darwin.tar.gz) = 385880921 bytes
+BLAKE2s (rust-1.89.0-x86_64-unknown-freebsd.tar.gz) = 615a221c5e9475962b563dd005ad96ff88f2392cdb166647b099e32f4b52a63a
+SHA512 (rust-1.89.0-x86_64-unknown-freebsd.tar.gz) = 97cd2cb35f502c1912f24ccd1530e8864663e9b3bac32a7176693f6dfc94d67e4ac1639ddd1972af73d6450a8e1f7dcfc590b51460cbc70770197462633a91e3
+Size (rust-1.89.0-x86_64-unknown-freebsd.tar.gz) = 375377122 bytes
+BLAKE2s (rust-1.89.0-x86_64-unknown-linux-gnu.tar.gz) = 4ecd95cc0d093da1728760e506e7b2c4ba6b006c1ad0c643a7ca1fc6e7a96c6c
+SHA512 (rust-1.89.0-x86_64-unknown-linux-gnu.tar.gz) = 4dc525ed31e5bec07a504aeea4e8b5eb8d5b1b7af8baaa683f607b737d4a95e14bf6d1aa74f8b6d1d5b1d2e9c57170aba26f4120e0bae91a826a88def591550e
+Size (rust-1.89.0-x86_64-unknown-linux-gnu.tar.gz) = 362760913 bytes
+BLAKE2s (rust-1.89.0-x86_64-unknown-netbsd.tar.xz) = d92560a39507068d5f42173e5ed45b428789181a6d7cc67400862b8d06494cbc
+SHA512 (rust-1.89.0-x86_64-unknown-netbsd.tar.xz) = 03bc462981ff9731b03bfeab70bdaf27b3d53b4ba87a02075c8f4b1eb5c467917dce2e5604ab050035a62c427c09f4ba446b644e5f0b32f8ec8b04cd40bfd0d6
+Size (rust-1.89.0-x86_64-unknown-netbsd.tar.xz) = 228758084 bytes
+BLAKE2s (rust-std-1.89.0-aarch64-apple-darwin.tar.gz) = 23cfdcec76351ed7e60cab0fc42aeaea16fb4e87eeee424afe06cc1f5bbb4d60
+SHA512 (rust-std-1.89.0-aarch64-apple-darwin.tar.gz) = a3ab304782e229a8f58a42c734e16f421eb2edb8af3516b7e840f00eb697bbc01d3a85494d33f1060ab3974890c0eb7168fe410538848c2d3cb3957d094e9d16
+Size (rust-std-1.89.0-aarch64-apple-darwin.tar.gz) = 44752145 bytes
+BLAKE2s (rust-std-1.89.0-aarch64-unknown-linux-gnu.tar.gz) = 20f9922ef55b58a9630a45c2e96e74f6414b2f4c5d47585ef3fa1b17fb1580a8
+SHA512 (rust-std-1.89.0-aarch64-unknown-linux-gnu.tar.gz) = b86773820af91fe9b5d59b3a1e07a795bbbad6d101c96b2d10b66df6524b457bd15b0830a940aadfdf8c6f1e994b64cc45115e9cae7055801493d25d1d8f2fd1
+Size (rust-std-1.89.0-aarch64-unknown-linux-gnu.tar.gz) = 49061658 bytes
+BLAKE2s (rust-std-1.89.0-aarch64-unknown-netbsd.tar.xz) = 8d8ce44b0e112ea8cf753ecaa290a0e0348e9ab3c425a86026a2e064d6879b6a
+SHA512 (rust-std-1.89.0-aarch64-unknown-netbsd.tar.xz) = 7c3510ce02786b32f0ad9e45adbdd42cb07ceb582e17e87349ee51fdc0bf71c2b1d35171d999b83ad309dfc334d7a305434ee981445b2ad60dcaa23a20c99994
+Size (rust-std-1.89.0-aarch64-unknown-netbsd.tar.xz) = 25429340 bytes
+BLAKE2s (rust-std-1.89.0-arm-unknown-linux-gnueabihf.tar.gz) = b593e9fd28f75019017f6d7a2ac3275f1e96a83198128763907188095f08d64e
+SHA512 (rust-std-1.89.0-arm-unknown-linux-gnueabihf.tar.gz) = 96881f6a53467c84f320ddddd0b84028e637dcb9fe8346630148ff660bc0dc1e2162565533b2e91639089310155e374134b4018762ac672190964c7f82872c7c
+Size (rust-std-1.89.0-arm-unknown-linux-gnueabihf.tar.gz) = 40874537 bytes
+BLAKE2s (rust-std-1.89.0-armv6-unknown-netbsd-eabihf.tar.xz) = d7ec40724d8fc57e480511b9e241368733667285b48c7dd5f17e4256ce88b5e9
+SHA512 (rust-std-1.89.0-armv6-unknown-netbsd-eabihf.tar.xz) = 73ac3b1cf3599664a100100d95c78ebe5e5b879688e17fb17e2a8abbd90781074204ec7c1d874dd4f4b9efd9207071a247b8eb45d2d4e38481edea0f4850916f
+Size (rust-std-1.89.0-armv6-unknown-netbsd-eabihf.tar.xz) = 23375716 bytes
+BLAKE2s (rust-std-1.89.0-armv7-unknown-linux-gnueabihf.tar.gz) = 26dec9028d2cde24c79f3d36460de801df7b07cc5defb614d250314c1266ee47
+SHA512 (rust-std-1.89.0-armv7-unknown-linux-gnueabihf.tar.gz) = 4a8c402833969cd16a62f569464c2ff7af47c05d400c3830fd5457ebe938e82fa6e90e4199808741d16c95dfa17d27417e768911de3dbb2dd52847926256caac
+Size (rust-std-1.89.0-armv7-unknown-linux-gnueabihf.tar.gz) = 42447121 bytes
+BLAKE2s (rust-std-1.89.0-armv7-unknown-netbsd-eabihf.tar.xz) = 57f56ceba9c3d2cb8c1f99eb012adfeb4bb081da57e005a0ee4e8a7b8f6af70c
+SHA512 (rust-std-1.89.0-armv7-unknown-netbsd-eabihf.tar.xz) = c20ffc0c19f59dea26fadfa1f9764537aec06d4d6f8c40031e846855da355eb384efcd2c444fd25a4d1be01c76b68a817f38c098bab0922fafc14c2f8b15cf67
+Size (rust-std-1.89.0-armv7-unknown-netbsd-eabihf.tar.xz) = 24696640 bytes
+BLAKE2s (rust-std-1.89.0-i586-unknown-netbsd.tar.xz) = 0a2507e5424b57d9682391ba2ffbf413255e670b9faf290a981f85699fd4408f
+SHA512 (rust-std-1.89.0-i586-unknown-netbsd.tar.xz) = cba56bc0a23a8f82c5e05d72cab0f64c37ee5b54886fbde5cb45d10b0046a36a6f6a6a352ad82c47f85d2b77c3909f0aaa8a4b870572a1161b7494dc6df3241f
+Size (rust-std-1.89.0-i586-unknown-netbsd.tar.xz) = 26335704 bytes
+BLAKE2s (rust-std-1.89.0-i686-unknown-linux-gnu.tar.gz) = 63c1ad64d21331059cf39fd06a7803ba5d337765605795c3cdb5c15edd0de417
+SHA512 (rust-std-1.89.0-i686-unknown-linux-gnu.tar.gz) = 39d2a680b1636a265139184551dc879fd80e2cbdc5e10b834e6ff8bfcf1d40754cd8722c69e16c607e50c0e66612ad75a6c32cf22033d37a57dd2b55366e0d21
+Size (rust-std-1.89.0-i686-unknown-linux-gnu.tar.gz) = 45134725 bytes
+BLAKE2s (rust-std-1.89.0-powerpc-unknown-netbsd.tar.xz) = 967a95420b6ae980e736cc03211798ec8653b7e64753474d121c04ec8735a069
+SHA512 (rust-std-1.89.0-powerpc-unknown-netbsd.tar.xz) = babf21c05ad604cd0b32ba93abd7f44fe499cb90b4a2b4333d63a15270e8527869cf7f6016f15891bbd1eafc513b04522573f3e38fee1b4d85730cdbed3694c4
+Size (rust-std-1.89.0-powerpc-unknown-netbsd.tar.xz) = 23650488 bytes
+BLAKE2s (rust-std-1.89.0-riscv64gc-unknown-netbsd.tar.xz) = 79eae1f9ab37199d10ec1416396c2da03237bb8f40c1ff3a026ee82e6bb2128b
+SHA512 (rust-std-1.89.0-riscv64gc-unknown-netbsd.tar.xz) = ae17e53c138804fb44b850aa5b7fbefdcef7b3115889b0bba666ef60d4ad84a90de7b1b7b50fc581b27a22c40cc476fcc23c277bac4a808c90a080a4f2b466d7
+Size (rust-std-1.89.0-riscv64gc-unknown-netbsd.tar.xz) = 23896972 bytes
+BLAKE2s (rust-std-1.89.0-sparc64-unknown-netbsd.tar.xz) = 959677c5a36008674e3e3a2defcf98be3783c34b1bfd0db553431e0556ae216c
+SHA512 (rust-std-1.89.0-sparc64-unknown-netbsd.tar.xz) = dc7def7e0d2cb65c920f90bc314d734f1f064aa01c12366e045d1dd576385a023893826a2bfe5c7c9fd2fb8f92ec94f1c48ba26d9e23551fb98eaa0ac6990c5a
+Size (rust-std-1.89.0-sparc64-unknown-netbsd.tar.xz) = 23428448 bytes
+BLAKE2s (rust-std-1.89.0-x86_64-apple-darwin.tar.gz) = 2076ad73a5a2888bffa034bec2be13a3f3b38d831fb93290bd81d032689157a3
+SHA512 (rust-std-1.89.0-x86_64-apple-darwin.tar.gz) = c8a5d806540930ddf7a142c1ca8df250bb70bc53cc1ac4263d0bba81331e9c0a80e34a188de4e0a306ae7bf9374522fdd3913c261a385a77d02db0bc01193b85
+Size (rust-std-1.89.0-x86_64-apple-darwin.tar.gz) = 47142334 bytes
+BLAKE2s (rust-std-1.89.0-x86_64-unknown-freebsd.tar.gz) = e7533b265cae1ec434827954e1e22655f1ed40625b7c90d3b130538f5167cf86
+SHA512 (rust-std-1.89.0-x86_64-unknown-freebsd.tar.gz) = f2d179cb71ae77a14abbe000265cc0dc6368455b0a01644a672b9f77e144fe6b5edfb9f7ae55873c221b0d2e71695821221438acbb4fb8751ce04a1f165939e5
+Size (rust-std-1.89.0-x86_64-unknown-freebsd.tar.gz) = 48522478 bytes
+BLAKE2s (rust-std-1.89.0-x86_64-unknown-linux-gnu.tar.gz) = a8736bb728f9a79854514cfae25b36a24659d526339b580d3932549e715f88fa
+SHA512 (rust-std-1.89.0-x86_64-unknown-linux-gnu.tar.gz) = cfd5fe03282075acc5254998ccc5724373b15bc1d708ed58ce6b5d9cac2b5427cc97d1146aba8bf7f96d77563688bc3ac9dec6f6becee22ab7ae7a954e142eec
+Size (rust-std-1.89.0-x86_64-unknown-linux-gnu.tar.gz) = 50960134 bytes
+BLAKE2s (rust-std-1.89.0-x86_64-unknown-netbsd.tar.xz) = 71142390a744823b6923b599b6a310ee054c1d9fd38209102d0e220d052dc61e
+SHA512 (rust-std-1.89.0-x86_64-unknown-netbsd.tar.xz) = 009d83051bd185002e5cf650649e5a4f7bc4ff8c55c3fcc52d6cb7523d2e768acdecd33c552f79586a894fdde0b4bbcfcb8da805dd6ba55e6e656afa6aafdda5
+Size (rust-std-1.89.0-x86_64-unknown-netbsd.tar.xz) = 29070464 bytes
+BLAKE2s (rustc-1.90.0-src.tar.gz) = b6e591387f58fb2904098ebfddf06f4756b8e449eab88677efdd5aa64c0713b7
+SHA512 (rustc-1.90.0-src.tar.gz) = 3aee16323b482cb13a8a03aa4e5a382ccda9fffa13070fe3f70d322140d0d6c1db7017b98b601650a27479b997ae169e72f5ac05b34d3a555f606f18c43f2e3f
+Size (rustc-1.90.0-src.tar.gz) = 602086131 bytes
 SHA1 (patch-compiler_rustc__codegen__ssa_src_back_linker.rs) = bb4cc16be543116f3f7d981fd8ac349f37dad105
 SHA1 (patch-compiler_rustc__llvm_build.rs) = 3acef995e3038a98b29b31b9bdd43286b1ac29f7
 SHA1 (patch-compiler_rustc__target_src_spec_Targets_sparc64__unknown__netbsd.rs) = 416d369e197f2eba6b0e6dd321b727f0f64ff159
@@ -117,10 +111,10 @@ SHA1 (patch-compiler_rustc__target_src_s
 SHA1 (patch-compiler_rustc__target_src_spec_targets_aarch64__unknown__netbsd.rs) = 1a02f2dd61a5f9cc4be1f66ac3404c961810c731
 SHA1 (patch-compiler_rustc__target_src_spec_targets_mips64el__unknown__netbsd.rs) = 0c5b7c31abe514e3394b910c6e601e40ebbd45c1
 SHA1 (patch-compiler_rustc__target_src_spec_targets_mipsel__unknown__netbsd.rs) = 7deeb7d1d3306e96891dec144ac90398b88c6ad4
+SHA1 (patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs) = c5cd529719daee44aead47ffd97e682ca9d9a1ae
 SHA1 (patch-library_backtrace_src_symbolize_gimli.rs) = 9d5ef634c5a454e474ea5fee76da9bb768f5b3d9
 SHA1 (patch-library_backtrace_src_symbolize_gimli_elf.rs) = 8b18e1dbde59f3e8f20e93c7669618b2c7a13294
 SHA1 (patch-library_std_src_sys_pal_unix_mod.rs) = 2e68c3a71b221cb1bfeb313327f366758782fe51
-SHA1 (patch-library_stdarch_crates_std__detect_tests_cpu-detection.rs) = 97c3ad8ea39c25d41256fcad80fae1e6e4970124
 SHA1 (patch-src_bootstrap_bootstrap.py) = b2ccb6a2c3ca180a3a39493314d56285a7a6d8ea
 SHA1 (patch-src_bootstrap_src_core_build__steps_compile.rs) = e928203ed4734c93cc33c5a3f7879cf18dcecc83
 SHA1 (patch-src_bootstrap_src_core_build__steps_install.rs) = cc6558df42c9c9ac28fdb2ff180bdaa7f22ce816
@@ -134,18 +128,19 @@ SHA1 (patch-src_llvm-project_llvm_utils_
 SHA1 (patch-src_tools_cargo_src_cargo_core_profiles.rs) = e1af7fde97416e0a269ee34efd37f4f47fcf7a95
 SHA1 (patch-src_tools_cargo_tests_testsuite_build.rs) = 333ec513b9b94750b2424a7c1b21c809e6ea25b8
 SHA1 (patch-src_tools_rust-installer_install-template.sh) = 6984546c34a2e4d55a6dbe59baa0d4958184e0b7
-SHA1 (patch-tests_assembly_targets_targets-elf.rs) = ee7d036c055ed2a2b3b303f381ad4694327c739b
-SHA1 (patch-vendor_bytecount-0.6.8_src_lib.rs) = df3641afebac2b06dc9d266524e295c461c441d4
+SHA1 (patch-tests_assembly-llvm_targets_targets-elf.rs) = e92c0b7734008ccabc7b7fb8988f67192946d66d
 SHA1 (patch-vendor_crossbeam-utils-0.8.18_no__atomic.rs) = d4d9288cb199af9bc7e321fbd2b42860aed954ec
 SHA1 (patch-vendor_libc-0.2.155_src_unix_bsd_netbsdlike_netbsd_mod.rs) = 36d927a0c3fd6ef8d211da5389a981e077aedc29
-SHA1 (patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs) = c5cd529719daee44aead47ffd97e682ca9d9a1ae
+SHA1 (patch-vendor_libc-0.2.155_src_unix_solarish_mod.rs) = 97505b88875aa80fa2b5589b6090237c3786e143
 SHA1 (patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = acbd63b911637fef336a92169a8130133eb64c8c
+SHA1 (patch-vendor_libc-0.2.168_src_unix_solarish_mod.rs) = edbb81319e5f685fd9c2ffe94138c377855a982d
 SHA1 (patch-vendor_libc-0.2.169_src_unix_bsd_netbsdlike_netbsd_mod.rs) = 02c4efefbf1e9e1bd98eb9524515677250ae7454
 SHA1 (patch-vendor_libc-0.2.169_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = c5e1c2d896d5e9d32aeb56bc3e4d9fb26be9edf0
-SHA1 (patch-vendor_libc-0.2.170_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = b6f2a00c83cbeedd8142dff58261bbb393449600
+SHA1 (patch-vendor_libc-0.2.169_src_unix_solarish_mod.rs) = e02c56106a092b4f2e27427ea8b5d96bf437c356
 SHA1 (patch-vendor_libc-0.2.171_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = adfc737db618e2fdbe99aafaee3e7802ee04ca26
 SHA1 (patch-vendor_libc-0.2.172_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = 3127715d2eb1e0ce148d67323b25dd0bc07b67ad
-SHA1 (patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs) = 9365cab6fd25dd077ed56f6105cde22a4a3356dd
+SHA1 (patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs) = 56b3e6273dc61a8b4c0d4e84abeeba0527c73dd1
+SHA1 (patch-vendor_libc-0.2.174_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = bcfaa5a86f5a5d837cc467dd5ac62434fcedc518
 SHA1 (patch-vendor_line-index-0.1.2_src_lib.rs) = 30aa5c82630ea0e8969abb527c11640712efba1e
 SHA1 (patch-vendor_lzma-sys-0.1.20_config.h) = 4849052ddb2f04f539fd7060fc1b43cc3acf99c4
 SHA1 (patch-vendor_memchr-2.7.4_src_arch_aarch64_memchr.rs) = 3e17e9f068afe5e812d10bf57fd3f6d4c21baf0b
@@ -153,18 +148,18 @@ SHA1 (patch-vendor_memchr-2.7.4_src_arch
 SHA1 (patch-vendor_memchr-2.7.4_src_memchr.rs) = 4c2f4fa4911f38acd3b36c311abd14d3c9751672
 SHA1 (patch-vendor_memchr-2.7.4_src_memmem_searcher.rs) = a5038873015004ab0c8769dda84edc16a9c55f24
 SHA1 (patch-vendor_memchr-2.7.4_src_vector.rs) = 50a901d061cf58a745b0c387a1c45ff2f0c54e89
-SHA1 (patch-vendor_openssl-src-111.17.0+1.1.1m_openssl_Configurations_10-main.conf) = 2e229236a8b4cb956938cba13c1ffa58afcbc8bc
-SHA1 (patch-vendor_openssl-src-111.17.0+1.1.1m_openssl_crypto_aria_aria.c) = 366ba2116a371afb74cf1d0f00277110f8cc0324
-SHA1 (patch-vendor_openssl-src-111.17.0+1.1.1m_src_lib.rs) = 67bb65da109e8d721955925bfcd3498034c45c56
-SHA1 (patch-vendor_openssl-src-300.4.2+3.4.1_openssl_Configurations_10-main.conf) = ebc0442d597083c7d40f08601938cfc127f8cca0
-SHA1 (patch-vendor_openssl-src-300.4.2+3.4.1_openssl_crypto_aria_aria.c) = 703e5a0a1a8439e8fcc10a6b5fc72595184416a3
-SHA1 (patch-vendor_openssl-src-300.4.2+3.4.1_src_lib.rs) = 9a9c491aa870c2eed9f42191d109cc1ff8fcedb2
-SHA1 (patch-vendor_openssl-sys-0.9.104_build_find__normal.rs) = ddfce30d203cc9f84169431b0a83336ae6fdf56d
-SHA1 (patch-vendor_openssl-sys-0.9.104_build_main.rs) = caf95c3d6e8777424b49600825d21535b2231eb2
+SHA1 (patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_Configurations_10-main.conf) = 8fc746574f16cd3294edce99beffc3e8c03a089b
+SHA1 (patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_crypto_aria_aria.c) = 1373d2e4ab609956e0e51ca3d900861caf3ee70d
+SHA1 (patch-vendor_openssl-src-111.28.2+1.1.1w_src_lib.rs) = b2c539ecafce940e5b8dcdb5951e15424a385bf1
+SHA1 (patch-vendor_openssl-src-300.5.0+3.5.0_openssl_Configurations_10-main.conf) = 49803c889864dbeccba92095b9fa6f104ff0180a
+SHA1 (patch-vendor_openssl-src-300.5.0+3.5.0_openssl_crypto_aria_aria.c) = 895b5f4d80fb714973f6d6fb1a39d89907e4976d
+SHA1 (patch-vendor_openssl-src-300.5.0+3.5.0_src_lib.rs) = 4c0f2796e28908d5d42749b03d210c649659cf6f
 SHA1 (patch-vendor_openssl-sys-0.9.107_build_find__normal.rs) = b3de2b9137882e3612291057c1b7793a27de760f
 SHA1 (patch-vendor_openssl-sys-0.9.107_build_main.rs) = 46627c013821166688d16d97f6f8ff4ccb552241
-SHA1 (patch-vendor_openssl-sys-0.9.108_build_find__normal.rs) = 1392ffbc4b708d6923931a67aa695acb8079b355
-SHA1 (patch-vendor_openssl-sys-0.9.108_build_main.rs) = 8dda1e54b4fed1573f7acd5d112d095db29df339
+SHA1 (patch-vendor_openssl-sys-0.9.109_build_find__normal.rs) = 96b7b6067e857ef1ef4c8b832dcbe13496e21ca4
+SHA1 (patch-vendor_openssl-sys-0.9.109_build_main.rs) = bc892cf8e13b6b8c6e30804fa41696bcedbabde3
+SHA1 (patch-vendor_openssl-sys-0.9.92_build_find__normal.rs) = 0ed143b603eea7c0bddf39e97916608c58978202
+SHA1 (patch-vendor_openssl-sys-0.9.92_build_main.rs) = 842ad74284518fbe8ff65222f7f6f81fb6381e49
 SHA1 (patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs) = 4e86aec4c89db9a331950a12f8ec7b8aaa50eed7
 SHA1 (patch-vendor_zerocopy-0.7.32_src_lib.rs) = d683e48900f427327f4ed518fe62b593e82c13d7
 SHA1 (patch-vendor_zerocopy-0.7.35_src_lib.rs) = b4b910405172f5653db4bf3286974b9410e77fab

Index: pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs
diff -u pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs:1.2 pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs:1.3
--- pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs:1.2     Tue Aug 26 13:56:24 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs Sat Oct 18 17:14:35 2025
@@ -1,4 +1,4 @@
-$NetBSD: patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs,v 1.2 2025/08/26 13:56:24 jperkin Exp $
+$NetBSD: patch-vendor_libc-0.2.172_src_unix_solarish_mod.rs,v 1.3 2025/10/18 17:14:35 he Exp $
 
 Fix xattr build.
 
@@ -9,7 +9,7 @@ Fix xattr build.
  pub const ENOTRECOVERABLE: c_int = 59;
  pub const ENOSTR: c_int = 60;
 +// This is not supported but is required for xattr
-+pub const ENOATTR: c_int = ENODATA;
++pub const ENOATTR: ::c_int = ::ENODATA;
  pub const ENODATA: c_int = 61;
  pub const ETIME: c_int = 62;
  pub const ENOSR: c_int = 63;

Added files:

Index: pkgsrc/lang/rust/patches/patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs:1.3
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs   Sat Oct 18 17:14:35 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs,v 1.3 2025/10/18 17:14:35 he Exp $
+
+Apply https://github.com/rust-lang/libc/pull/4265/files
+to fix getmntinfo() from rust.
+
+--- vendor/libc-0.2.168/src/unix/bsd/netbsdlike/netbsd/mod.rs.orig     2025-04-05 11:35:20.818765987 +0000
++++ vendor/libc-0.2.168/src/unix/bsd/netbsdlike/netbsd/mod.rs
+@@ -2850,6 +2850,7 @@ extern "C" {
+         hint: *const c_void,
+     ) -> c_int;
+ 
++    #[link_name = "__getmntinfo13"]
+     pub fn getmntinfo(mntbufp: *mut *mut crate::statvfs, flags: c_int) -> c_int;
+     pub fn getvfsstat(buf: *mut statvfs, bufsize: size_t, flags: c_int) -> c_int;
+ }

Index: pkgsrc/lang/rust/patches/patch-tests_assembly-llvm_targets_targets-elf.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-tests_assembly-llvm_targets_targets-elf.rs:1.1
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-tests_assembly-llvm_targets_targets-elf.rs   Sat Oct 18 17:14:35 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-tests_assembly-llvm_targets_targets-elf.rs,v 1.1 2025/10/18 17:14:35 he Exp $
+
+Fix test suite for mips64el-unknown-netbsd.
+
+--- tests/assembly-llvm/targets/targets-elf.rs.orig    2025-09-19 21:53:43.152938454 +0000
++++ tests/assembly-llvm/targets/targets-elf.rs
+@@ -301,6 +301,9 @@
+ //@ revisions: mips64el_unknown_linux_muslabi64
+ //@ [mips64el_unknown_linux_muslabi64] compile-flags: --target mips64el-unknown-linux-muslabi64
+ //@ [mips64el_unknown_linux_muslabi64] needs-llvm-components: mips
++//@ revisions: mips64el_unknown_netbsd
++//@ [mips64el_unknown_netbsd] compile-flags: --target mips64el_unknown_netbsd-unknown-linux-muslabi64
++//@ [mips64el_unknown_netbsd] needs-llvm-components: mips
+ //@ revisions: mips_unknown_linux_gnu
+ //@ [mips_unknown_linux_gnu] compile-flags: --target mips-unknown-linux-gnu
+ //@ [mips_unknown_linux_gnu] needs-llvm-components: mips
Index: pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.174_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.174_src_unix_bsd_netbsdlike_netbsd_riscv64.rs:1.1
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.174_src_unix_bsd_netbsdlike_netbsd_riscv64.rs        Sat Oct 18 17:14:35 2025
@@ -0,0 +1,89 @@
+$NetBSD: patch-vendor_libc-0.2.174_src_unix_bsd_netbsdlike_netbsd_riscv64.rs,v 1.1 2025/10/18 17:14:35 he Exp $
+
+Unbreak this module.
+
+I admit to this entirely being based on "cargo cult", but at least
+the rust compiler (cross-)builds for NetBSD/risc64 with this,
+whereas it did not earlier.
+
+--- vendor/libc-0.2.174/src/unix/bsd/netbsdlike/netbsd/riscv64.rs.orig 2025-05-19 23:28:32.395024196 +0000
++++ vendor/libc-0.2.174/src/unix/bsd/netbsdlike/netbsd/riscv64.rs
+@@ -1,24 +1,70 @@
+-use PT_FIRSTMACH;
++use crate::PT_FIRSTMACH;
+ 
+ use crate::prelude::*;
+ 
+ pub type __greg_t = u64;
+ pub type __cpu_simple_lock_nv_t = c_int;
+ pub type __gregset = [__greg_t; _NGREG];
+-pub type __fregset = [__freg; _NFREG];
++pub type __fregset = [__fpreg; _NFREG];
+ 
+-s! {
++s_no_extra_traits! {
++    pub union __fpreg {
++        #[cfg(libc_union)]
++        pub u_u64: u64,
++        pub u_d: c_double,
++    }
+     pub struct mcontext_t {
+         pub __gregs: __gregset,
+-        pub __fregs: __fpregset,
++        pub __fregs: __fregset,
+         __spare: [crate::__greg_t; 7],
+     }
+ }
+ 
+-s_no_extra_traits! {
+-    pub union __fpreg {
+-        pub u_u64: u64,
+-        pub u_d: c_double,
++cfg_if! {
++    if #[cfg(feature = "extra_traits")] {
++//      use ::self::fmt;
++//      use ::self::hash;
++        use core::marker::Copy;
++        use core::clone::Clone;
++        #[cfg(libc_union)]
++        impl PartialEq for __fpreg {
++            fn eq(&self, other: &__fpreg) -> bool {
++                unsafe {
++                    self.u_64 == other.u_64
++                        || self.u_d == other.u_d
++                }
++            }
++        }
++        #[cfg(libc_union)]
++        impl Eq for __fpreg {}
++        #[cfg(libc_union)]
++        impl ::fmt::Debug for __fpreg {
++            fn fmt(&self, f: &mut ::fmt::Formatter) -> ::fmt::Result {
++                unsafe {
++                    f.debug_struct("__fpreg")
++                        .field("u_u64", &self.u_64)
++                        .field("u_d", &self.u_d)
++                        .finish()
++                }
++            }
++        }
++        #[cfg(libc_union)]
++        impl ::hash::Hash for __fpreg {
++            fn hash<H: ::hash::Hasher>(&self, state: &mut H) {
++                unsafe {
++                    self.u_64.hash(state);
++                    self.u_d.hash(state);
++                }
++            }
++        }
++        #[cfg(libc_union)]
++        impl ::Copy for __fpreg {}
++        #[cfg(libc_union)]
++        impl ::Clone for __fpreg {
++            fn clone(&self) -> __fpreg {
++                *self
++            }
++        }
+     }
+ }
+ 
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_crypto_aria_aria.c
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_crypto_aria_aria.c:1.1
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_crypto_aria_aria.c        Sat Oct 18 17:14:36 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_crypto_aria_aria.c,v 1.1 2025/10/18 17:14:36 he Exp $
+
+Make this build if bswap32 is already defined, as for NetBSD/i586.
+
+--- vendor/openssl-src-111.28.2+1.1.1w/openssl/crypto/aria/aria.c.orig 2025-05-19 20:01:02.477323075 +0000
++++ vendor/openssl-src-111.28.2+1.1.1w/openssl/crypto/aria/aria.c
+@@ -32,9 +32,11 @@
+ #define rotl32(v, r) (((uint32_t)(v) << (r)) | ((uint32_t)(v) >> (32 - r)))
+ #define rotr32(v, r) (((uint32_t)(v) >> (r)) | ((uint32_t)(v) << (32 - r)))
+ 
++#ifndef bswap32
+ #define bswap32(v)                                          \
+     (((v) << 24) ^ ((v) >> 24) ^                            \
+     (((v) & 0x0000ff00) << 8) ^ (((v) & 0x00ff0000) >> 8))
++#endif
+ 
+ #define GET_U8_BE(X, Y) ((uint8_t)((X) >> ((3 - Y) * 8)))
+ #define GET_U32_BE(X, Y) (                                  \
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_openssl_Configurations_10-main.conf
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_openssl_Configurations_10-main.conf:1.1
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_openssl_Configurations_10-main.conf Sat Oct 18 17:14:36 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-vendor_openssl-src-300.5.0+3.5.0_openssl_Configurations_10-main.conf,v 1.1 2025/10/18 17:14:36 he Exp $
+
+Replicate part of
+https://github.com/openssl/openssl/pull/15086
+
+--- vendor/openssl-src-300.5.0+3.5.0/openssl/Configurations/10-main.conf.orig  2025-05-20 09:03:49.120083364 +0000
++++ vendor/openssl-src-300.5.0+3.5.0/openssl/Configurations/10-main.conf
+@@ -1033,6 +1033,10 @@ my %targets = (
+         shared_target    => "bsd-gcc-shared",
+         shared_cflag     => "-fPIC",
+     },
++    "NetBSD-generic32" => {
++        inherit_from    => [ "BSD-generic32" ],
++        ex_libs         => add(threads("-latomic")),
++    },
+     "BSD-generic64" => {
+         inherit_from     => [ "BSD-generic32" ],
+         bn_ops           => "SIXTY_FOUR_BIT_LONG",
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_openssl_crypto_aria_aria.c
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_openssl_crypto_aria_aria.c:1.1
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_openssl_crypto_aria_aria.c  Sat Oct 18 17:14:36 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-vendor_openssl-src-300.5.0+3.5.0_openssl_crypto_aria_aria.c,v 1.1 2025/10/18 17:14:36 he Exp $
+
+Make this build also if bswap32 is already defined, as for NetBSD/i586.
+
+--- vendor/openssl-src-300.5.0+3.5.0/openssl/crypto/aria/aria.c.orig   2025-05-19 20:04:00.808387729 +0000
++++ vendor/openssl-src-300.5.0+3.5.0/openssl/crypto/aria/aria.c
+@@ -32,9 +32,11 @@
+ #define rotl32(v, r) (((uint32_t)(v) << (r)) | ((uint32_t)(v) >> (32 - r)))
+ #define rotr32(v, r) (((uint32_t)(v) >> (r)) | ((uint32_t)(v) << (32 - r)))
+ 
++#ifndef bswap32
+ #define bswap32(v)                                          \
+     (((v) << 24) ^ ((v) >> 24) ^                            \
+     (((v) & 0x0000ff00) << 8) ^ (((v) & 0x00ff0000) >> 8))
++#endif
+ 
+ #define GET_U8_BE(X, Y) ((uint8_t)((X) >> ((3 - Y) * 8)))
+ #define GET_U32_BE(X, Y) (                                  \
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_src_lib.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_src_lib.rs:1.1
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-src-300.5.0+3.5.0_src_lib.rs  Sat Oct 18 17:14:36 2025
@@ -0,0 +1,22 @@
+$NetBSD: patch-vendor_openssl-src-300.5.0+3.5.0_src_lib.rs,v 1.1 2025/10/18 17:14:36 he Exp $
+
+Make this build on NetBSD for arm64 and mipsel as well.
+
+--- vendor/openssl-src-300.5.0+3.5.0/src/lib.rs.orig   2025-05-18 21:45:55.955282328 +0000
++++ vendor/openssl-src-300.5.0+3.5.0/src/lib.rs
+@@ -321,6 +321,7 @@ impl Build {
+             "armv5te-unknown-linux-gnueabi" => "linux-armv4",
+             "armv5te-unknown-linux-musleabi" => "linux-armv4",
+             "armv6-unknown-freebsd" => "BSD-generic32",
++            "armv6-unknown-netbsd-eabihf" => "BSD-generic32",
+             "armv6-alpine-linux-musleabihf" => "linux-armv6",
+             "armv7-unknown-freebsd" => "BSD-armv4",
+             "armv7-unknown-linux-gnueabi" => "linux-armv4",
+@@ -356,6 +357,7 @@ impl Build {
+             "mips64el-unknown-linux-muslabi64" => "linux64-mips64",
+             "mipsel-unknown-linux-gnu" => "linux-mips32",
+             "mipsel-unknown-linux-musl" => "linux-mips32",
++            "mipsel-unknown-netbsd" => "NetBSD-generic32",
+             "powerpc-unknown-freebsd" => "BSD-ppc",
+             "powerpc-unknown-linux-gnu" => "linux-ppc",
+             "powerpc-unknown-linux-gnuspe" => "linux-ppc",
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.109_build_find__normal.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.109_build_find__normal.rs:1.1
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.109_build_find__normal.rs     Sat Oct 18 17:14:36 2025
@@ -0,0 +1,30 @@
+$NetBSD: patch-vendor_openssl-sys-0.9.109_build_find__normal.rs,v 1.1 2025/10/18 17:14:36 he Exp $
+
+Add hack for Darwin when homebrew is installed.
+
+--- vendor/openssl-sys-0.9.109/build/find_normal.rs.orig       2025-06-28 08:28:59.789478187 +0000
++++ vendor/openssl-sys-0.9.109/build/find_normal.rs
+@@ -72,23 +72,6 @@ fn resolve_with_wellknown_location(dir: 
+ fn find_openssl_dir(target: &str) -> OsString {
+     let host = env::var("HOST").unwrap();
+ 
+-    if host == target && target.ends_with("-apple-darwin") {
+-        let homebrew_dir = match target {
+-            "aarch64-apple-darwin" => "/opt/homebrew",
+-            _ => "/usr/local",
+-        };
+-
+-        if let Some(dir) = resolve_with_wellknown_homebrew_location(homebrew_dir) {
+-            return dir.into();
+-        } else if let Some(dir) = resolve_with_wellknown_location("/opt/pkg") {
+-            // pkgsrc
+-            return dir.into();
+-        } else if let Some(dir) = resolve_with_wellknown_location("/opt/local") {
+-            // MacPorts
+-            return dir.into();
+-        }
+-    }
+-
+     try_pkg_config();
+     try_vcpkg();
+ 
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.109_build_main.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.109_build_main.rs:1.1
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.109_build_main.rs     Sat Oct 18 17:14:36 2025
@@ -0,0 +1,23 @@
+$NetBSD: patch-vendor_openssl-sys-0.9.109_build_main.rs,v 1.1 2025/10/18 17:14:36 he Exp $
+
+Patterned after Linux and Android, on 32-bit NetBSD ports
+include -latomic.  Parts of this inspired by
+https://github.com/sfackler/rust-openssl/commit/a0a1d1d29263abb7c47fc2e58cef8dab13762a45
+
+--- vendor/openssl-sys-0.9.109/build/main.rs.orig      2025-06-28 08:30:05.194163693 +0000
++++ vendor/openssl-sys-0.9.109/build/main.rs
+@@ -269,6 +269,14 @@ fn main() {
+         println!("cargo:rustc-link-lib=atomic");
+     }
+ 
++    // Patterned of the above, make sure we include -latomic
++    // on ilp32 ports (yes, this only tests the "p32" part).
++    if env::var("CARGO_CFG_TARGET_OS").unwrap() == "netbsd"
++       && env::var("CARGO_CFG_TARGET_POINTER_WIDTH").unwrap() == "32"
++    {
++       println!("cargo:rustc-link-lib=atomic");
++    }
++
+     if kind == "static" && target.contains("windows") {
+         println!("cargo:rustc-link-lib=dylib=gdi32");
+         println!("cargo:rustc-link-lib=dylib=user32");

Index: pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.155_src_unix_solarish_mod.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.155_src_unix_solarish_mod.rs:1.5
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.155_src_unix_solarish_mod.rs Sat Oct 18 17:14:35 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-vendor_libc-0.2.155_src_unix_solarish_mod.rs,v 1.5 2025/10/18 17:14:35 he Exp $
+
+Fix xattr build.
+
+--- vendor/libc-0.2.155/src/unix/solarish/mod.rs.orig  2024-08-29 18:03:17.866520790 +0000
++++ vendor/libc-0.2.155/src/unix/solarish/mod.rs
+@@ -1524,6 +1524,8 @@ pub const EOWNERDEAD: ::c_int = 58;
+ pub const ENOTRECOVERABLE: ::c_int = 59;
+ pub const ENOSTR: ::c_int = 60;
+ pub const ENODATA: ::c_int = 61;
++// This is not supported but is required for xattr
++pub const ENOATTR: ::c_int = ::ENODATA;
+ pub const ETIME: ::c_int = 62;
+ pub const ENOSR: ::c_int = 63;
+ pub const ENONET: ::c_int = 64;
Index: pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.169_src_unix_solarish_mod.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.169_src_unix_solarish_mod.rs:1.5
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.169_src_unix_solarish_mod.rs Sat Oct 18 17:14:35 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-vendor_libc-0.2.169_src_unix_solarish_mod.rs,v 1.5 2025/10/18 17:14:35 he Exp $
+
+Fix xattr build.
+
+--- vendor/libc-0.2.169/src/unix/solarish/mod.rs.orig  2024-08-29 18:03:17.866520790 +0000
++++ vendor/libc-0.2.169/src/unix/solarish/mod.rs
+@@ -1421,6 +1421,8 @@ pub const EOWNERDEAD: c_int = 58;
+ pub const ENOTRECOVERABLE: c_int = 59;
+ pub const ENOSTR: c_int = 60;
+ pub const ENODATA: c_int = 61;
++// This is not supported but is required for xattr
++pub const ENOATTR: ::c_int = ::ENODATA;
+ pub const ETIME: c_int = 62;
+ pub const ENOSR: c_int = 63;
+ pub const ENONET: c_int = 64;

Index: pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.168_src_unix_solarish_mod.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.168_src_unix_solarish_mod.rs:1.4
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_libc-0.2.168_src_unix_solarish_mod.rs Sat Oct 18 17:14:35 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-vendor_libc-0.2.168_src_unix_solarish_mod.rs,v 1.4 2025/10/18 17:14:35 he Exp $
+
+Fix xattr build.
+
+--- vendor/libc-0.2.168/src/unix/solarish/mod.rs.orig  2025-04-05 11:37:41.783212722 +0000
++++ vendor/libc-0.2.168/src/unix/solarish/mod.rs
+@@ -1421,6 +1421,8 @@ pub const EOWNERDEAD: c_int = 58;
+ pub const ENOTRECOVERABLE: c_int = 59;
+ pub const ENOSTR: c_int = 60;
+ pub const ENODATA: c_int = 61;
++// This is not supported but is required for xattr
++pub const ENOATTR: ::c_int = ::ENODATA;
+ pub const ETIME: c_int = 62;
+ pub const ENOSR: c_int = 63;
+ pub const ENONET: c_int = 64;
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_Configurations_10-main.conf
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_Configurations_10-main.conf:1.4
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_Configurations_10-main.conf       Sat Oct 18 17:14:36 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-vendor_openssl-src-111.28.2+1.1.1w_openssl_Configurations_10-main.conf,v 1.4 2025/10/18 17:14:36 he Exp $
+
+Replicate part of
+https://github.com/openssl/openssl/pull/15086
+
+--- vendor/openssl-src-111.28.2+1.1.1w/openssl/Configurations/10-main.conf.orig        2025-05-18 13:23:47.013841572 +0000
++++ vendor/openssl-src-111.28.2+1.1.1w/openssl/Configurations/10-main.conf
+@@ -943,6 +943,10 @@ my %targets = (
+         shared_cflag     => "-fPIC",
+         shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
+     },
++    "NetBSD-generic32" => {
++        inherit_from    => [ "BSD-generic32" ],
++        ex_libs         => add(threads("-latomic")),
++    },
+     "BSD-generic64" => {
+         inherit_from     => [ "BSD-generic32" ],
+         bn_ops           => "SIXTY_FOUR_BIT_LONG",
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_src_lib.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_src_lib.rs:1.4
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-src-111.28.2+1.1.1w_src_lib.rs        Sat Oct 18 17:14:36 2025
@@ -0,0 +1,64 @@
+$NetBSD: patch-vendor_openssl-src-111.28.2+1.1.1w_src_lib.rs,v 1.4 2025/10/18 17:14:36 he Exp $
+
+Add the various NetBSD targets.
+
+--- vendor/openssl-src-111.28.2+1.1.1w/src/lib.rs.orig 2025-05-18 13:26:41.970702318 +0000
++++ vendor/openssl-src-111.28.2+1.1.1w/src/lib.rs
+@@ -239,6 +239,8 @@ impl Build {
+             "aarch64-unknown-freebsd" => "BSD-generic64",
+             "aarch64-unknown-linux-gnu" => "linux-aarch64",
+             "aarch64-unknown-linux-musl" => "linux-aarch64",
++            "aarch64-unknown-netbsd" => "BSD-generic64",
++            "aarch64_be-unknown-netbsd" => "BSD-generic64",
+             "aarch64-pc-windows-msvc" => "VC-WIN64-ARM",
+             "arm-linux-androideabi" => "linux-armv4",
+             "armv7-linux-androideabi" => "linux-armv4",
+@@ -249,14 +251,17 @@ impl Build {
+             "armv5te-unknown-linux-gnueabi" => "linux-armv4",
+             "armv5te-unknown-linux-musleabi" => "linux-armv4",
+             "armv6-unknown-freebsd" => "BSD-generic32",
++            "armv6-unknown-netbsd-eabihf" => "BSD-generic32",
+             "armv7-unknown-freebsd" => "BSD-generic32",
+             "armv7-unknown-linux-gnueabi" => "linux-armv4",
+             "armv7-unknown-linux-musleabi" => "linux-armv4",
+             "armv7-unknown-linux-gnueabihf" => "linux-armv4",
+             "armv7-unknown-linux-musleabihf" => "linux-armv4",
++            "armv7-unknown-netbsd-eabihf" => "BSD-generic32",
+             "asmjs-unknown-emscripten" => "gcc",
+             "i586-unknown-linux-gnu" => "linux-elf",
+             "i586-unknown-linux-musl" => "linux-elf",
++            "i586-unknown-netbsd" => "BSD-x86-elf",
+             "i686-apple-darwin" => "darwin-i386-cc",
+             "i686-linux-android" => "linux-elf",
+             "i686-pc-windows-gnu" => "mingw",
+@@ -264,6 +269,7 @@ impl Build {
+             "i686-unknown-freebsd" => "BSD-x86-elf",
+             "i686-unknown-linux-gnu" => "linux-elf",
+             "i686-unknown-linux-musl" => "linux-elf",
++            "i686-unknown-netbsd" => "BSD-x86-elf",
+             "loongarch64-unknown-linux-gnu" => "linux-generic64",
+             "loongarch64-unknown-linux-musl" => "linux-generic64",
+             "mips-unknown-linux-gnu" => "linux-mips32",
+@@ -274,9 +280,11 @@ impl Build {
+             "mips64el-unknown-linux-muslabi64" => "linux64-mips64",
+             "mipsel-unknown-linux-gnu" => "linux-mips32",
+             "mipsel-unknown-linux-musl" => "linux-mips32",
++            "mipsel-unknown-netbsd" => "NetBSD-generic32",
+             "powerpc-unknown-freebsd" => "BSD-generic32",
+             "powerpc-unknown-linux-gnu" => "linux-ppc",
+             "powerpc-unknown-linux-gnuspe" => "linux-ppc",
++            "powerpc-unknown-netbsd" => "NetBSD-generic32",
+             "powerpc64-unknown-freebsd" => "BSD-generic64",
+             "powerpc64-unknown-linux-gnu" => "linux-ppc64",
+             "powerpc64-unknown-linux-musl" => "linux-ppc64",
+@@ -284,8 +292,10 @@ impl Build {
+             "powerpc64le-unknown-linux-gnu" => "linux-ppc64le",
+             "powerpc64le-unknown-linux-musl" => "linux-ppc64le",
+             "riscv64gc-unknown-linux-gnu" => "linux-generic64",
++            "riscv64gc-unknown-netbsd" => "BSD-generic64",
+             "s390x-unknown-linux-gnu" => "linux64-s390x",
+             "s390x-unknown-linux-musl" => "linux64-s390x",
++            "sparc64-unknown-netbsd" => "BSD-generic64",
+             "x86_64-apple-darwin" => "darwin64-x86_64-cc",
+             "x86_64-linux-android" => "linux-x86_64",
+             "x86_64-pc-windows-gnu" => "mingw64",
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_find__normal.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_find__normal.rs:1.4
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_find__normal.rs      Sat Oct 18 17:14:36 2025
@@ -0,0 +1,30 @@
+$NetBSD: patch-vendor_openssl-sys-0.9.92_build_find__normal.rs,v 1.4 2025/10/18 17:14:36 he Exp $
+
+Add hack for Darwin when homebrew is installed.
+
+--- vendor/openssl-sys-0.9.92/build/find_normal.rs.orig        2025-09-19 21:56:18.930723780 +0000
++++ vendor/openssl-sys-0.9.92/build/find_normal.rs
+@@ -72,23 +72,6 @@ fn resolve_with_wellknown_location(dir: 
+ fn find_openssl_dir(target: &str) -> OsString {
+     let host = env::var("HOST").unwrap();
+ 
+-    if host == target && target.ends_with("-apple-darwin") {
+-        let homebrew_dir = match target {
+-            "aarch64-apple-darwin" => "/opt/homebrew",
+-            _ => "/usr/local",
+-        };
+-
+-        if let Some(dir) = resolve_with_wellknown_homebrew_location(homebrew_dir) {
+-            return dir.into();
+-        } else if let Some(dir) = resolve_with_wellknown_location("/opt/pkg") {
+-            // pkgsrc
+-            return dir.into();
+-        } else if let Some(dir) = resolve_with_wellknown_location("/opt/local") {
+-            // MacPorts
+-            return dir.into();
+-        }
+-    }
+-
+     try_pkg_config();
+     try_vcpkg();
+ 
Index: pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_main.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_main.rs:1.4
--- /dev/null   Sat Oct 18 17:14:37 2025
+++ pkgsrc/lang/rust/patches/patch-vendor_openssl-sys-0.9.92_build_main.rs      Sat Oct 18 17:14:37 2025
@@ -0,0 +1,23 @@
+$NetBSD: patch-vendor_openssl-sys-0.9.92_build_main.rs,v 1.4 2025/10/18 17:14:37 he Exp $
+
+Patterned after Linux and Android, on 32-bit NetBSD ports
+include -latomic.  Parts of this inspired by
+https://github.com/sfackler/rust-openssl/commit/a0a1d1d29263abb7c47fc2e58cef8dab13762a45
+
+--- vendor/openssl-sys-0.9.92/build/main.rs.orig       2025-09-19 21:57:47.732695298 +0000
++++ vendor/openssl-sys-0.9.92/build/main.rs
+@@ -115,6 +115,14 @@ fn main() {
+         println!("cargo:rustc-link-lib={}={}", kind, lib);
+     }
+ 
++    // Patterned of the above, make sure we include -latomic
++    // on NetBSD ilp32 ports (yes, this only tests the "p32" part).
++    if env::var("CARGO_CFG_TARGET_OS").unwrap() == "netbsd"
++       && env::var("CARGO_CFG_TARGET_POINTER_WIDTH").unwrap() == "32"
++    {
++        println!("cargo:rustc-link-lib=atomic");
++    }
++
+     if kind == "static" && target.contains("windows") {
+         println!("cargo:rustc-link-lib=dylib=gdi32");
+         println!("cargo:rustc-link-lib=dylib=user32");



Home | Main Index | Thread Index | Old Index