-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustup causes rustc
invocation to automatically download toolchain
#444
Comments
I have installed rustup thorough pacman and it installs the rust toolchain. Rustup allows multiple versions of rust to be installed and it checks the rust-toolchain.toml for the required version for project. That's also probably why rustc --version is showing latest version and not installing the defined version in your case. |
Yah ok, doing things through rustup causes this behavior. I have to say I think this is terrible behavior on the part of rustup. If you try to get tab completion on I really don't want to have Tide causing a 30s download in the background. Is there any way to like, politely ask |
I was also trying to find if there is some way to only ask for version and not download but didn't find one. Seems like this issue has been open since long time: |
rustc
invocation to automatically download toolchain
The issue has been resolved by rust-lang/rustup#3225 , and it will be released as 1.28.0. Once released, we can simply use |
Describe the bug
If a rust folder contains rust-toolchain.toml requiring version that isn't installed, rustc --version automatically tries to install the toolchain. So if we quickly open nvim or any other cli program after switching to the folder, contents from stderr is displayed.
Steps to reproduce
[toolchain]
# set channel to one that is not installed
channel = "1.72"
Screenshots
The text was updated successfully, but these errors were encountered: