Installation issue

When installing rust, it failed because it could not download rust-doc.

component download failed for rust-docs-aarch64-pc-windows-msvc: could not download file from 'https://static.rust-lang.org/dist/2024-03-21/rust-docs-1.77.0-aarch64-pc-windows-msvc.tar.xz'

Can anyone help?

well, it might just be you have a internet connection problem. are you using a corporate network? are you accessing the internet through a proxy? can you download the file with your browser?

another possibility maybe your network administrator is configured to block the content. is it only the rust-doc component? if you can succssfully download the cargo, rustc, and rust-std components, you will have a working rust toolchain, you just need to use the "minimal" profile to install the toolchain. you can pass the --profile minimal command line flag to rustup, or you can manually select the profile during the interactive installation process.

see:

https://rust-lang.github.io/rustup/concepts/profiles.html

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.