Skip to content
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

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

Closed
Logarithmus opened this issue Oct 4, 2020 · 3 comments
Closed

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

Logarithmus opened this issue Oct 4, 2020 · 3 comments
Labels

Comments

@Logarithmus
Copy link

Logarithmus commented Oct 4, 2020

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)
@Logarithmus Logarithmus added the bug label Oct 4, 2020
@ehuss
Copy link
Contributor

ehuss commented Oct 4, 2020

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.

@ehuss
Copy link
Contributor

ehuss commented Oct 4, 2020

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.

@kinnison
Copy link
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
Labels
Projects
None yet
Development

No branches or pull requests

3 participants