`rustup update` in windows gives torjan virus alert and cannot update


This has been a recurring issue with new versions of Rust. Some virus checkers seem especially eager to declare new things as viruses until enough people report a false positive.

In this case it looks like it's complaining about a javascript file in the docs. As a workaround you could try installing without docs.

1 Like

For an existing installation, rustup component remove rust-docs, and then try to update.

1 Like

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.