Daft
Daft copied to clipboard
unable to build using the provided `rust-toolchain`
Describe the bug
If i run rustup update
to install the toolchain specified in rust-toolchain.toml
, it does not install cargo
, which means I can't build the project.
To Reproduce Steps to reproduce the behavior:
If i run rustup update
to install the toolchain specified in rust-toolchain.toml
, it does not install cargo
.
> rustup toolchain remove nightly-2024-04-01
> rustup update
> make build
error: the 'cargo' binary, normally provided by the 'cargo' component, is not applicable to the 'nightly-2024-04-01-aarch64-apple-darwin' toolchain
But if i manually install the toolchain, instead of the one provided by rust-toolchain.toml
, everything works
> rustup toolchain remove nightly-2024-04-01
> rustup toolchain add nightly-2024-04-01
> make build
Expected behavior
The toolchain provided by rust-toolchain.toml
should either provide everything needed to build the project, or there should be some explicit documentation stating how to properly set up your toolchain