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

Can't find docs in a new installation of rustup #3063

Closed
2 tasks done
davidecarpini opened this issue Feb 20, 2022 · 4 comments
Closed
2 tasks done

Can't find docs in a new installation of rustup #3063

davidecarpini opened this issue Feb 20, 2022 · 4 comments

Comments

@davidecarpini
Copy link

davidecarpini commented Feb 20, 2022

  • I have checked the latest main branch to see if this has already been fixed
  • I have searched existing issues and pull requests for duplicates

URL to the section(s) of the book with this problem:
https://doc.rust-lang.org/stable/book/

Description of the problem:
run rustup docs --book to open. this doesn't work:

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

Mac OS 12.0.1
rustup version 1.58.1

@carols10cents
Copy link
Member

This is a known issue on M1 macs because Apple Silicon is currently a Tier 2 platform. See explanation and a workaround on this issue.

@free2create
Copy link

Is this related to this not working on Ubuntu 22.04 ?
> head .rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/book/index.html works

I can open the document with IntelliJ
But both chromium and firefox cannot open the doc.

Is this because ubuntu uses wayland or related to snaps ?

@carols10cents
Copy link
Member

This issue is not related to Ubuntu; the Ubuntu issue sounds like #3422

@rust-lang rust-lang locked as off-topic and limited conversation to collaborators Nov 16, 2022
@carols10cents
Copy link
Member

carols10cents commented Nov 17, 2022

Please see rust-lang/rustup#2988 and the issues linked to it for possible solutions/workarounds to the Ubuntu issue. Please do not open new issues here; they will be closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants