[Midnightbsd-cvs] [MidnightBSD/mports] f8dc27: lang/rust: update to 1.95.0 (#754)
Lucas Holt
noreply at github.com
Tue Aug 18 14:11:46 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: f8dc2742ccf4a26aa7c62f55414f96d42fc7cd70
https://github.com/MidnightBSD/mports/commit/f8dc2742ccf4a26aa7c62f55414f96d42fc7cd70
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-18 (Tue, 18 Aug 2026)
Changed paths:
M lang/rust/Makefile
M lang/rust/distinfo
M lang/rust/files/patch-AddLLVM.cmake
M lang/rust/files/patch-vendor_cc.rs
Log Message:
-----------
lang/rust: update to 1.95.0 (#754)
Updates `lang/rust` from 1.94.0 to 1.95.0, mirroring FreeBSD ports
commit `3c971390fa39`.
## Changes
- `PORTVERSION` 1.94.0 -> 1.95.0, `PORTREVISION` 2 -> 0
- `BOOTSTRAPS_DATE` 2026-01-22 -> 2026-03-05, `RUST_BOOTSTRAP_VERSION`
1.93.0 -> 1.94.0 (matches `src/stage0`)
- `distinfo` taken from FreeBSD's 1.95 distinfo; their 1.94 distinfo was
byte-identical to ours apart from the timestamp, so all eight
architectures transfer safely
- `files/patch-AddLLVM.cmake` retargeted: upstream LLVM now quotes
`"${CMAKE_SYSTEM_NAME}"` in the rpath origin check and the line moved
from 2552 to 2568
- `files/patch-vendor_cc.rs` retargeted: the vendored cc crate moved
from 1.2.50 to 1.2.55; verified all ten vendored `cc-*` directories are
still covered
Announce: https://blog.rust-lang.org/2026/04/16/Rust-1.95.0/
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.95.0
## Validation (amd64)
| Step | Result |
|---|---|
| `bmake checksum` | OK (amd64 distfiles + bootstraps) |
| `bmake patch` | clean from a clean tree |
| `bmake` | completed successfully |
| `bmake fake` | clean; staged `rustc 1.95.0 (59807616e)` / `cargo
1.95.0 (f2d3ce0bd)` |
| `bmake package` | `rust-1.95.0.mport`, 130M |
| `bmake test` | skipped (`NO_TEST=yes`) |
| `portlint -A` | 22 warnings + 1 fatal, all pre-existing on untouched
files; the fatal is only the `work` directory being present |
Checksums for the other seven architectures come from the FreeBSD
distinfo and were not verified locally.
## Note for the build cluster
The build needed two manual restarts after transient SIGSEGVs in the
1.94.0 bootstrap cargo, first at `rust-analyzer-proc-macro-srv` and
later at `generate-copyright`. There was no memory pressure (32G RAM and
34G swap both idle), the exact failing invocations succeeded when rerun
by hand, and eight repeated manual runs of the same `cargo metadata`
command never crashed. This looks like host flakiness in the
FreeBSD-built bootstrap cargo rather than a port defect, but Magus does
not self-resume, so a cluster run may still report a failure at one of
those steps.
## Deliberately out of scope
`lang/rust-bootstrap` (still 1.94.0) and the `Mk/extensions/cargo.mk`
minimum version pin (`>=1.87.0`). FreeBSD bumps both in the same commit,
but they are separate ports/concerns here and raising the Mk pin would
force unrelated rebuilds. Neither `lang/rust-nightly` nor `lang/rust188`
inherits these variables, so both are unaffected.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
Update the lang/rust port to Rust 1.95.0 and align its bootstrap data,
checksums, and platform patches with the new release.
Enhancements:
- Update the Rust compiler port to version 1.95.0 with the corresponding
bootstrap toolchain and source metadata.
- Refresh platform-specific patches for the updated LLVM and vendored cc
sources while retaining MidnightBSD support.
Build:
- Refresh Rust 1.95.0 distfiles and checksums.
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