-
Notifications
You must be signed in to change notification settings - Fork 892
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
Cannot update on Windows due to renaming issues #3636
Comments
Agree. MS signing would help I think. Thanks for linking that up! Will check those out. Closing this issue. In summary, the primary purpose of this issue was to document that the issue still persists and to share that even without resolving the root cause... users might get some relief by trying the following instead of
|
Bump:
This does NOT work via VS Code terminal, only directly in the PowerShell. |
Then this might be #988 again. (Sigh...) |
Problem
Running
rustup update
on Windows PowerShell and in a Debian WSL to update from 1.74.0 to 1.75.0.Seeing error messages like:
It should just update successfully.
Steps
Run
rustup update
on Windows in Windows PowerShell or a Debian WSL.See errors like:
Possible Solution(s)
Believe the root cause is stupid Windows antivirus / endpoint protection that generally thinks any/all software development is malicious. (Unrelated: I've actually seen an AV not allow the default Rust hello world exe run. Downright lazy if you ask me.) I understand a general need to be proactive, but sheesh, AV products should whitelist all known good executables AND actually scan files for actual malicious behavior. Not sure the issue is specific to just my company's chosen AV / endpoint protection, but just in case it's helpful, it's Trellix.
This is stupid, but it worked (for some reason) in both Debian WSL and Windows PowerShell, however in PowerShell, it still printed the same errors except only related to the
rust-docs\share/doc/rust/html
path.Notes
No response
Rustup version
1.26.0
Installed toolchains
Windows PowerShell:
Debian WSL:
The text was updated successfully, but these errors were encountered: