-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Redetermining rustc-docs's target tuple(s) #150598
Copy link
Copy link
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-releaseRelevant to the release subteam, which will review and decide on the PR/issue.Relevant to the release subteam, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-releaseRelevant to the release subteam, which will review and decide on the PR/issue.Relevant to the release subteam, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Background
Continuation of #75833, part of rust-lang/rustup#3717:
Thanks to my previous #150289, in today's
nightlywe can already findrustc-docsthat 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 dorustup component add rustc-docsunless your host tuple isx86_64-unknown-linux-gnu:Expected Outcome
I think
rustc-docs-[HOST_TUPLE]should at least exist on the release server as well as in the manifest, just likerust-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-docscompiled 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 bex86_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.