[Midnightbsd-cvs] [MidnightBSD/mports] e5b07e: lang/rust-bootstrap: build the cargo bootstrap tar...
Lucas Holt
noreply at github.com
Tue Aug 18 17:01:48 EDT 2026
Branch: refs/heads/lang/rust-bootstrap-cargo
Home: https://github.com/MidnightBSD/mports
Commit: e5b07e2e3a5f7db3a26234786932936ad8f4d664
https://github.com/MidnightBSD/mports/commit/e5b07e2e3a5f7db3a26234786932936ad8f4d664
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-18 (Tue, 18 Aug 2026)
Changed paths:
M lang/rust-bootstrap/Makefile
Log Message:
-----------
lang/rust-bootstrap: build the cargo bootstrap tarball
lang/rust bootstraps from three distfiles - rustc, rust-std and cargo -
but this port ran x.py dist with extended=false and no tools list, so it
never produced a cargo tarball. The bootstraps it shipped were not
enough to bump lang/rust on their own and cargo still had to come from
the FreeBSD mirror. Set tools=["cargo"] and extended=true so cargo is
built and packaged alongside the other two.
extended=true also emits the combined rust-${PORTVERSION} installer, so
drop it in do-install along with the rust-dev and rustc-dev tarballs,
which lang/rust never fetches. Restrict [dist] to the xz format while
here; only the xz tarballs are installed and building the gzip copies of
everything was pure overhead.
The package now carries exactly cargo, rustc and rust-std and shrinks
from 469M to 75M.
Validated on the amd64 flavor: configure, build, fake and package all
succeed. The resulting tarballs were then exercised the way
lang/rust's do-configure uses them - each install.sh run against a
scratch prefix - and the installed toolchain reports rustc and cargo
1.95.0 and builds and runs a small crate. portlint reports 15
warnings, all pre-existing and unrelated. The i386 flavor was not
built.
AI-Assisted-by: Claude Opus 5 <noreply at anthropic.com>
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