Skip to content

Redetermining rustc-docs's target tuple(s) #150598

@rami3l

Description

@rami3l

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-gnu exist so you'll have to type that, unless you are really on an x86_64-unknown-linux-gnu host 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.T-bootstrapRelevant 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions