-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Documentation neither installed nor installable on tier 2+ platforms #69525
Comments
I can confirm the behaviour you're stating - that aarch64-unknown-linux-gnu lacks the |
I'm not sure whose responsibility it is to decide which platforms get the |
This issue is not ARM only, |
Given the relatively low demand for non-tier-1 doc packages, I would be happy if rustup were just a little smarter about this. Ideally, |
@SolraBizna In theory, if the channel manifest were extended to contain enough information for rustup to know that then sure it'd be possible. However platforms move between tiers of support without @12101111 If you make that link, there's the possibility |
I don't understand, why not just build all the documentation (rustdoc & the books) once and then share it between all triples? |
There are differences. The big one I know about is CPU-specific inlines for SIMD and such. |
A year later, with Apple M1 bringing ARM to more developer's desktops, this is a more pressing issue. |
At some point in the last year, I assume it's not an easy process to just build the docs myself on my own machine? |
Problem
I'm working in Rust on a Pinebook Pro running ARM64 Debian GNU/Linux. I've been Rusty for a few years now, and one of my favorite features is the extensive offline documentation. However, on this computer:
rustup doc
gives an error message instead of documentation; the documentation doesn't appear to be present; and attempts to explicitly install the documentation have all failed.Steps
rustup doc
(it fails)rustup component add rust-docs
(it fails)rustup component add --toolchain stable-aarch64-unknown-linux-gnu rust-docs
(it fails)I installed Rust about a month ago and noticed the lack of documentation then, it's only now that it's become a major problem for me. I attempted steps 2-4 just now after
rustup update
, rather than after a completely fresh install.Notes
Output of
rustup --version
:rustup 1.21.1 (7832b2ebe 2019-12-20)
Output of
rustup show
:Output of
rustup doc
(even though rust-lang/rustup#2116 should be in effect?):Output of
rustup component add --toolchain stable-aarch64-unknown-linux-gnu rust-docs
:The text was updated successfully, but these errors were encountered: