-
Notifications
You must be signed in to change notification settings - Fork 911
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
Don't show targets in toolchain names by default in the UI #461
Comments
On the other hand, we could also unify the idea of toolchains and targets and make |
I agree with hiding the host triple portion of the toolchain name when it matches the configured host. I don't think we should unify the idea of toolchains and targets, because 1) it does have some uses, 2) there are still some subtle differences between a rustc with host X, target Y and a rustc with host Y, target Y, 3) it's potentially even more confusing, if only because it's much further from what's actually happening, and 4) it would take quite a while to get rustup relatively stable again after such a massive change. I think the solution is to de-emphasise the use of toolchains, introducing it purely as a means to switch between release channels and versions, and not introduce toolchain-triple switching at that point. In combination with hiding the triple this should simplify basic usage. It may also be worth moving the |
Found it: #351 |
I had an issue about this before but lost it.
I've seen people confused that they should be installing
stable-$target
to do cross-compiling. For the most part the host architecture doesn't matter. If you care about the host architecture it will be set as in #421 and reported inrustup show
. We don't need to say it all the time.Not showing target names in toolchain names makes it more obvious that you generally use target triples to specify targets, not toolchains.
So everywhere the UI shows e.g.
stable-x86_64-unknown-linux-gnu
it will instead saystable
. Unless the toolchain's target is not the same as the default host per #421, or the user actually requested a different target explicitly.@nrc This is related to some of the question you had today. The distinction between the host and target platform is a fairly confusing topic.
cc @alexcrichton @Diggsey
The text was updated successfully, but these errors were encountered: