HomeFreeBSD

lang/rust: Update to 1.19.0

Description

lang/rust: Update to 1.19.0

The main change in the port is the switch from configure+make to the
x.py build script. This is the recommended way of building Rust. It
takes a configuration file, config.toml, which, in the port case,
indicates:

  • where to install things;
  • which release channel to use;
  • where to find Python and llvm-config;
  • if documentation should be also built.

The build process should now honor ${MAKE_JOBS_NUMBER} instead of always
using all available CPU cores.

The Cargo registry archive is significantly larger. It includes the
whole registry index (not only the crates needed by Rust). If the index
is missing, Cargo wants to download it from crates.io and I couldn't
find a way to convince it skip it.

New bootstraps for FreeBSD/aarch64 were prepared for this update. Those
are based on Rust 1.18.0 and Cargo 0.19.0.

CONFLICTS_BUILD with installed lang/rust and lang/rust-nightly is
commented out for now. I couldn't see any build failure with an installed
lang/rust so it looks promising. But I couldn't test with an installed
lang/rust-nightly because the latter is marked BROKEN for now. Once it's
restored, I'll do more testing and hopefully completely remove this
CONFLICTS_BUILD variables.

Details

Provenance
dumbbellAuthored on
Parents
rP446814: Update devel/py-twilio to version 6.5.0.
Branches
Unknown
Tags
Unknown