Skip to content

rustup --version tries to install a toolchain #2904

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

Closed
couchand opened this issue Nov 18, 2021 · 1 comment
Closed

rustup --version tries to install a toolchain #2904

couchand opened this issue Nov 18, 2021 · 1 comment

Comments

@couchand
Copy link

Problem

When in a directory with a rust-toolchain file, the command rustup --version tries to start installing the specified toolchain. This seems quite surprising.

Steps

  1. Navigate to a folder with a rust-toolchain file.
  2. rustup uninstall the specified toolchain
  3. rustup --version

Possible Solution(s)

No response

Notes

No response

Rustup version

$ rustup --version
rustup 1.24.3 (ce5817a94 2021-05-31)

Installed toolchains

$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/couch/snap/rustup/common/rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu (default)
nightly-2021-10-05-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-unknown-linux-gnu

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.56.1 (59eed8a2a 2021-11-01)
@couchand couchand added the bug label Nov 18, 2021
@Rustin170506
Copy link
Member

Duplicate of #1397

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants