[Midnightbsd-cvs] [MidnightBSD/mports] 62f330: lang/rust-bootstrap: update to 1.94.0 (#572)

Lucas Holt noreply at github.com
Sat May 23 19:30:52 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 62f330d422eabd88466d5ea5569682251597bd63
      https://github.com/MidnightBSD/mports/commit/62f330d422eabd88466d5ea5569682251597bd63
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-23 (Sat, 23 May 2026)

  Changed paths:
    M lang/rust-bootstrap/Makefile
    M lang/rust-bootstrap/distinfo
    M lang/rust-bootstrap/files/patch-Path.inc
    M lang/rust-bootstrap/files/patch-src_bootstrap_src_core_build__steps_install.rs
    A lang/rust-bootstrap/files/patch-src_tools_rust-analyzer_crates_proc-macro-srv_proc-macro-test_build.rs
    M lang/rust-bootstrap/files/patch-vendor_cc.rs

  Log Message:
  -----------
  lang/rust-bootstrap: update to 1.94.0 (#572)

## Summary

- update `lang/rust-bootstrap` to Rust 1.94.0
- refresh bootstrap patches against the Rust 1.94 source layout
- adjust generated `config.toml` so same-host amd64 builds use native
cc/c++, while cross targets keep the freebsd-sysroot wrappers

## Validation

- `bmake patch`
- `bmake configure`
- `bmake build`
- `bmake fake`
- `bmake package`
- `bmake describe`
- `bmake check-license`
- `bmake patch FLAVOR=i386`
- `bmake configure FLAVOR=i386`
- `portlint -C` (0 fatal, 17 existing-style warnings)
- `git diff --check`

## Summary by Sourcery

Update the rust-bootstrap port to Rust 1.94.0 and refresh local patches
and build configuration to match the new upstream layout and tooling.

Bug Fixes:
- Ensure rust-analyzer proc-macro tests can fall back to an alternative
compiled artifact when the expected package ID does not match.
- Fix Bootstrap LLVM Path.inc handling of environ on older FreeBSD
versions to avoid symbol issues.

Enhancements:
- Refresh vendor cc crate patches to track newer upstream versions used
by Rust 1.94.0.
- Adjust rust-bootstrap config generation so same-host builds use the
native compiler toolchain while cross builds continue to use
freebsd-sysroot wrappers.
- Move ccache configuration to the general Rust build config section to
better align with the updated Rust build system.
- Restrict installation of Rust documentation to host targets only to
avoid unnecessary staging of non-host docs.

Build:
- Update rust-bootstrap Makefile version and distinfo to fetch Rust
1.94.0 sources.

Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list