rustup: Aniviruses cause a huge slowdown for 'rust-docs' installation
On my Windows 7 computer at work, the install/update process can’t pass the docs installation phase, while it works fine on my personal Linux computer.
Messages :
C:\Windows\system32>rustup update stable
info: syncing channel updates for 'stable-x86_64-pc-windows-gnu'
info: downloading component 'rustc'
45.2 MiB / 45.2 MiB (100 %) 403.2 KiB/s ETA: 0 s
info: downloading component 'rust-std'
57.5 MiB / 57.5 MiB (100 %) 476.8 KiB/s ETA: 0 s
info: downloading component 'rust-docs'
6.3 MiB / 6.3 MiB (100 %) 464.0 KiB/s ETA: 0 s
info: downloading component 'cargo'
4.9 MiB / 4.9 MiB (100 %) 393.6 KiB/s ETA: 0 s
info: downloading component 'rust-mingw'
7.1 MiB / 7.1 MiB (100 %) 456.5 KiB/s ETA: 0 s
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'rust-docs'
I have to use Ctrl+C or rustup never end.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 21
- Comments: 18 (3 by maintainers)
I can confirm that this problem still exists.
Windows 10, using WSL also experiencing hangs on rust-docs installation. Have not yet verified whether full install will complete.
Making the
rust-docscomponent optional is being worked on: https://github.com/rust-lang-nursery/rustup.rs/issues/998The workaround is either adding exclusions to your antivirus or disabling your antivirus.
Is there any workaround for this issue? Seems adding
.rustupto Exclusions in the Windows Defender Security Center makes it work again, but there is surely a better way.