-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Description
Background
Continuation of #75833, part of rust-lang/rustup#3717:
Thanks to my previous #150289, in today's nightly we can already find rustc-docs that can be installed correctly without conflicts, so #75833 has technically been resolved.
Problem Description
However, there is another possible inconsistency that might be undesirable for announcing its availability on rustup, namely you cannot do rustup component add rustc-docs unless your host tuple is x86_64-unknown-linux-gnu:
[..] only
rustc-docs-x86_64-unknown-linux-gnuexist so you'll have to type that, unless you are really on anx86_64-unknown-linux-gnuhost where we'll append the host tuple to the end for you.
rust-lang/rustup#3717
Expected Outcome
I think rustc-docs-[HOST_TUPLE] should at least exist on the release server as well as in the manifest, just like rust-docs-[HOST_TUPLE] does today.
Challenges
It seems to me that the biggest problem of fixing this is whether it should be implemented as rustc-docs compiled to all major host platforms, or simply as the same rustdoc with different component names. It should be noted in addition that the current online version that many are using seems to be x86_64-unknown-linux-gnu-only.
The previous Zulip discussion on this topic is here.
I'd love to propose a PR if needed as long as the above uncertainty is settled.