This is an old revision of the document!


Rust on FreeBSD

We take care of Rust and Rust-related ports in the FreeBSD Ports Collection.

  • lang/rust is tracking Rust Stable and is updated every 6 weeks. It uses the bootstraps we create with lang/rust-bootstrap.
  • lang/rust-nightly is tracking Rust Nightly and is updated every week. It uses the prebuilt bootstraps provided by upstream. As such it is currently limited to amd64 and i386.
  • lang/rust-bootstrap creates cross-compiled bootstraps for all supported architecture which are later used to build lang/rust.
  • Cargo integration is available in the ports framework via USES=cargo

We currently maintain lang/rust for the following architecture and release combinations:

  • aarch64: 12.1+ (< 12.1 not supported due to a bug in rtld)
  • amd64: 11.4+
  • armv6: 11.4+
  • armv7: 12.1+
  • i386: 11.4+
  • powerpc64 ELFv1: 12.1 (13.0 will use the new ELFv2 ABI)
  • powerpc64 Big Endian ELFv2: 13.0+
  • powerpc64 Little Endian ELFv2: 13.0+

rust@FreeBSD.org

Bugs and feature requests should be submitted via https://bugs.freebsd.org.

Patches via Phabricator (invite #rust as reviewers).


  • rust.1605691488.txt.gz
  • Last modified: 2020/11/18 09:24
  • by MikaelUrankar