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

rustup doc with open error #95586

Closed
h3n4l opened this issue Apr 2, 2022 · 2 comments
Closed

rustup doc with open error #95586

h3n4l opened this issue Apr 2, 2022 · 2 comments
Labels
C-bug Category: This is a bug.

Comments

@h3n4l
Copy link

h3n4l commented Apr 2, 2022

I tried this code:

rustup doc

I expected to see this happen:
Open index.html in the web browser or other correct behavior

Instead, this happened:

error: couldn't open browser: command 'open' did not execute successfully; exit status: 1
command stderr:
The file /Users/h3n4l/.rustup/toolchains/stable-aarch64-apple-darwin/share/doc/rust/html/index.html does not exist.

Meta

rustc --version --verbose:

rustc 1.59.0 (9d1b2106e 2022-02-23)
binary: rustc
commit-hash: 9d1b2106e23b1abd32fce1f17267604a5102f57a
commit-date: 2022-02-23
host: aarch64-apple-darwin
release: 1.59.0
LLVM version: 13.0.0
@h3n4l h3n4l added the C-bug Category: This is a bug. label Apr 2, 2022
@h3n4l
Copy link
Author

h3n4l commented Apr 2, 2022

It seems like that there was no a folder named html in the path ~/.rustup/toolchains/stable-aarch64-apple-darwin/share/doc/rust/:

ls -l /Users/h3n4l/.rustup/toolchains/stable-aarch64-apple-darwin/share/doc/rust
total 80
-rw-r--r--  1 h3n4l  staff   9322 Apr  2 18:03 COPYRIGHT
-rw-r--r--  1 h3n4l  staff   9723 Apr  2 18:03 LICENSE-APACHE
-rw-r--r--  1 h3n4l  staff   1023 Apr  2 18:03 LICENSE-MIT
-rw-r--r--  1 h3n4l  staff  10307 Apr  2 18:03 README.md

@ehuss
Copy link
Contributor

ehuss commented Apr 2, 2022

Thanks for the report! Documentation for that target is not available in 1.59. This will be fixed in the 1.60 release next week. Closing as a duplicate of #69525.

@ehuss ehuss closed this as completed Apr 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

2 participants