rust-toolchain.toml
is not used for rustup toolchain install
#4216
Open
2 tasks done
Labels
Verification
Problem
Like many others, I hit an issue where things stopped working in CI because latest version of Rustup didn't install the toolchain implicitly anymore.
I reached out to
rustup toolchain install
, but looks like it is not exactly equivalent because it didn't install any components mentioned inrust-toolchain.toml
:Steps
rust-toolchain.toml
withcomponents = ["rust-src"]
rustup toolchain install
I expect for toolchain to be installed with all components and targets to be installed too.
Right now components and targets do not seem to be installed.
Possible Solution(s)
No response
Notes
It'd be amazing if I could also install rustup itself with
--default-toolchain none
and simply rely onrustup toolchain install
so I don't have to duplicate the version in multiple places of the project.Rustup version
rustup 1.28.0 (6e19fbec7 2025-03-02)
Installed toolchains
-
OS version
Ubuntu 24.04
The text was updated successfully, but these errors were encountered: