-
Notifications
You must be signed in to change notification settings - Fork 892
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
rustup doc not working on m1 macbook #2692
Comments
@rust-lang/infra this issue belongs on |
Tier 2 platforms do not build the documentation, so it’s not a “failure“. See also https://users.rust-lang.org/t/problem-with-rust-in-apple-silicon/56535/3?u=shepmaster |
@rustbot label: +O-macos +A-aarch64 |
My workaround before apple silicon becomes tier1 platform(tracked by rust-lang/rust#73908) is first install the x86 toolchain rustup toolchain install stable-x86_64-apple-darwin then in my shell config file adds # for rustup doc on apple sillicon before it becomes tier1 platform
alias rustdoc="rustup doc --toolchain=stable-x86_64-apple-darwin" Then I can use the Closing this issue as this workaround works well for my daily usage. |
Is there any solution without installing another x86 rust? |
Until and unless the docs are released for other platforms, no. I imagine they are only guaranteed for tier one targets sadly |
Doesn't that mean you're running every Rust binary you compile through rosetta? |
Problem
When I run
rustup doc
, I got:Running
rustup +nightly component list --installed
, I got:I also tried
rustup component add rust-docs
, and the output isso it seems on m1 mac the
rustup doc
is not supported? I think this is a very basic feature and I can't believe that we still don't support it on m1 mac, this is why I open the issue as bug report instead of feature request.Possible related issues:
#2494
#1125
Steps
rustup doc
on m1 macbook.Possible Solution(s)
Notes
Output of
rustup --version
:Output of
rustup show
:macOS version:
The text was updated successfully, but these errors were encountered: