Skip to content

Missing 'rust-docs' component for 'musl' toolchains #2510

Description

@Logarithmus

I'm not sure if I should create this issue in rustup repo or in rust.
Problem
When you install any musl toolchain, e. g. x86_64-unknown-linux-musl, rust-docs component doesn't install.
I've digged into the issue, and found out that for some reason rust-docs is missing for some triples, among them are *-musl ones. https://static.rust-lang.org/dist/channel-rust-stable.toml

Steps

  1. rustup toolchain install stable-x86_64-unknown-linux-musl
  2. rustup doc

Possible Solution(s)
Add tarballs for *-musl triples to the server.

Notes

Output of rustup --version:

rustup 1.22.1 (2020-07-28)

Output of rustup show:

Default host: x86_64-unknown-linux-musl
rustup home:  /home/artur/.rustup

stable-x86_64-unknown-linux-musl (default)
rustc 1.46.0 (04488afe3 2020-08-24)

Activity

  1. ehuss commented on Oct 4, 2020

    @ehuss
    Contributor

    The docs are not available for non-tier1 platforms due to the overhead and CI time involved in building them. This issue is tracked in rust-lang/rust#69525. It may be possible for the channel manifests to redirect most platforms to the linux docs (probably x86_64-unknown-linux-gnu). As a workaround, you can download the docs from x86_64-unknown-linux-gnu.

  2. ehuss commented on Oct 4, 2020

    @ehuss
    Contributor

    Oh, BTW, the x86_64-unknown-linux-musl includes the rust-docs component in the beta channel (via rust-lang/rust#74871) which should hit stable next week.

  3. kinnison commented on Oct 16, 2020

    @kinnison
    Contributor

    Given Eric's response above, I'm going to close this issue. Hopefully everyone is happy now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions