Closed
Description
I compile Rust by downloading it from https://forge.rust-lang.org/infra/other-installation-methods.html#source-code, unpacking, then calling
./configure --enable-optimize-llvm --enable-extended --llvm-root=/usr/local --enable-llvm-link-shared --enable-sanitizers --enable-local-rust
This generates a config.toml file. For Rust 1.72.0 the latter includes:
[build]
# Enable a build of the extended Rust tool set which is not only the compiler
# but also tools such as Cargo. This will also produce "combined installers"
# which are used to install Rust and Cargo together. This is disabled by
# default. The `tools` option (immediately below) specifies which tools should
# be built if `extended = true`.
extended = true
The text above references “tools
option (immediately below)”, but the file does not contain tools= definition. This is a regression towards Rust 1.65.0. With Rust 1.65.0 config.toml contained also
[build]
# Installs chosen set of extended tools if `extended = true`. By default builds
# all extended tools except `rust-demangler`, unless the target is also being
# built with `profiler = true`. If chosen tool failed to build the installation
# fails. If `extended = false`, this option is ignored.
tools = ["cargo", "rls", "clippy", "rustfmt", "analysis", "src"] # + "rust-demangler" if `profiler`