-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustup self update does not work #46945
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
Comments
Hi, what Windows version are you using? (BTW rustup issues are better filed at https://github.com/rust-lang-nursery/rustup.rs/issues) |
I'm using Windows 8.1. Sorry about opening the issue here. |
Confirm. |
For some reason, rustup isnt able to remove the file already in the folder before doing the hardlink. I got it working by deleting them before running the self update. It gave link errors and a warning about rustfmt. pub fn hardlink(src: &Path, dest: &Path) -> io::Result<()> { |
I have same problem in Windows 10. |
@kennytm Should the issue be duplicated (link? ported over? (I'm unfamiliar with GH issue system)) to rustup or will it be taken care of here nonetheless? |
@joce It should better be copy-and-pasted to the rustup repo. |
got this here on windows 10 using "rustup update" |
Hit this on CI. Looks like one workaround is to downgrade rustup. Here's an older version: https://static.rust-lang.org/rustup/archive/1.7.0/i686-pc-windows-gnu/rustup-init.exe |
Closing in favor of rust-lang/rustup#1316. Please follow that issue instead, thanks! |
rustup self update does not work anymore. I've tried to remove everything and reinstall everything rust related and the same thing happens. No idea what caused it.
C:\Users\laci\Downloads>rustup self update
info: checking for self-updates
error: could not create link from 'C:\Users\laci.cargo\bin\rustup.exe' to 'C:\Users\laci.cargo\bin\rustc.exe'
info: backtrace:
stack backtrace:
0: 0x634c34 -
1: 0x5919db -
2: 0x591a66 -
3: 0x57026e -
4: 0x56ff51 -
5: 0x42eec9 -
6: 0x420ae3 -
7: 0x439330 -
8: 0x438aa5 -
9: 0x9190fb -
10: 0x9164ca -
11: 0x43d72c -
12: 0x4013e3 -
13: 0x75b57c04 - BaseThreadInitThunk
14: 0x77b5ad2f - RtlInitializeExceptionChain
C:\Users\laci\Downloads>
The text was updated successfully, but these errors were encountered: