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

Rust language guide html page seems to be missing on stable-aarch64-apple-darwin builds of Rust #94528

Closed
andylin2004 opened this issue Mar 2, 2022 · 2 comments
Labels
C-bug Category: This is a bug.

Comments

@andylin2004
Copy link

I tried this command on my MacBook Air M1 using the stable-aarch64-apple-darwin build of Rust:

rustup doc --book

I expected to see this happen: The html page to the Rust language guide opens up in my browser of choice.

Instead, this happened:

error: couldn't open browser: command 'open' did not execute successfully; exit status: 1
command stderr:
The file /Users/andylin/.rustup/toolchains/stable-aarch64-apple-darwin/share/doc/rust/html/book/index.html does not exist.
@andylin2004 andylin2004 added the C-bug Category: This is a bug. label Mar 2, 2022
@zerj9
Copy link

zerj9 commented Mar 2, 2022

Looks like this is a known issue. There's a workaround here: rust-lang/rustup#2692 (comment)

@ehuss
Copy link
Contributor

ehuss commented Mar 2, 2022

This has been fixed in 1.60 via #92800.

If you install beta or nightly, you should be able to get the rust-docs component. This should hit stable in about 5 weeks. Closing as fixed, however, feel free to let us know if it is not working in newer releases.

@ehuss ehuss closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants