Re: git: 9204fb371cbe - main - default-versions: add rust-bootstrap to RUST section
Date: Tue, 03 Oct 2023 06:05:15 UTC
Enji Cooper wrote: > default-versions: add rust-bootstrap to RUST section > > lang/rust-bootstrap is another potential option for RUST. > document the value in the comment so others might consider its use. > There are some choice words about this part that I will spare the room for now. > lang/rust-bootstrap has more tunable knobs which allow for more minimal > builds of the rust toolchain than lang/rust -- which may be desirable > for appliance or iterative builds. > [citation needed]: no OPTIONS exist, amongst other things. Ultimately this doesn't make sense. This port has one purpose, for providing a bootstrap toolchain to build the full lang/rust or the tarball outside of the ports framework. "Appliance or iterative builds" fall under the general purpose category. Not only is there a "circular" dependency on the full lang/rust to bootstrap this port, but both rust-std and cargo are built regardless and are required for the toolchain to work at all; neither are light or minimal by any means. cargo especially uses many dependent crates that use the FFI to link to libraries provided by other ports or base or bundled. Finally, the built results are installed/staged into a special bootstrap hierarchy, and not a more "standard" one, for which the singular use case could not be more obvious. > Approved by: portmgr (bapt) > Reviewed by: allanjude, bapt > Differential Revision: https://reviews.freebsd.org/D42052 Why was rust@ conveniently bypassed here? -- Charlie Li ...nope, still don't have an exit line.