Skip to content
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

Maybe tell about rustup show #40

Open
bjorn3 opened this issue Jun 26, 2020 · 1 comment
Open

Maybe tell about rustup show #40

bjorn3 opened this issue Jun 26, 2020 · 1 comment

Comments

@bjorn3
Copy link

bjorn3 commented Jun 26, 2020

It could be near (or replace):

When playing with different toolchains, it is important to check not only what the default toolchainis, but also if overrides are currently set for some directories.

$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/bjorn/.rustup

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

stable-x86_64-unknown-linux-gnu (default)
nightly-2020-06-23-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
cg_clif_rustc
rust2-stage1
rust2-stage2

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

x86_64-pc-windows-gnu
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl

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

stable-x86_64-unknown-linux-gnu (default)
rustc 1.44.0 (49cae5576 2020-06-01)
@ad-anssi
Copy link
Contributor

ad-anssi commented Jul 6, 2020

Hello,
Thanks for the good idea. I think we should indeed go for a replacement, since there other ways to override default toolchain that are not yet mentioned in the guide (rust-toolchain file, RUST_TOOLCHAIN env var, etc). It should be also worth to mention the paragraph Override precedence of the cargo README.

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

No branches or pull requests

2 participants