You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a rust-toolchain.toml file and add channel = "1.79" to the [toolchain] section
Run a cargo command (even with 1.79 installed, this fails)
Possible Solution(s)
No response
Notes
I have attempted to do all of the following before filing this bug:
Update Rustup
Reinstall Rustup
Update my toolchain
Reinstall both stable and 1.79
Reinstall the cargo and clippy components manually
Delete the ~/.rustup directory
Delete the ~/.cargo directory
Ensured that the toolchain does in fact contain the required components
Ensured that the installed version of Cargo is in fact 1.79
Rustup version
rustup 1.27.1 (54dd3d00f 2024-04-24)info: This is the version for the rustup toolchain manager, not the rustc compiler.info: The currently active `rustc` version is `rustc 1.79.0 (129f3b996 2024-06-10)`
This is reproducible by running rustup toolchain install 1.79 instead of rustup toolchain install 1.79.0
To me at least, these should resolve to the same thing until 1.79.1 is released? Not sure what the best path forward is here.
Verification
Problem
I have the following
rust-toolchain.toml
file in my project:And when I run any
cargo
command, it fails with:Changing the
rust-toolchain.toml
to either of these resolves the issue (though is not what I want):Steps
cargo init
rust-toolchain.toml
file and addchannel = "1.79"
to the[toolchain]
sectioncargo
command (even with 1.79 installed, this fails)Possible Solution(s)
No response
Notes
I have attempted to do all of the following before filing this bug:
stable
and1.79
cargo
andclippy
components manually~/.rustup
directory~/.cargo
directoryRustup version
Installed toolchains
OS version
MacOS 14.5
The text was updated successfully, but these errors were encountered: