-
Notifications
You must be signed in to change notification settings - Fork 891
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
rustup can't update itself to v1.25.2 on aarch64-pc-windows-msvc platform #3187
Comments
Copying my comment from Zulip thread: This appears to be an issue with how rustup detects the platform of what it should download. The installer shell script installs the i686-pc-windows-msvc binary on aarch64. The aarch64 release isn't available on stable, yet (see #2612). However, the self-update code here detects the native architecture of the system it is running on, and thinks it needs the aarch64 version of rustup. It's not clear why it is done this way. A workaround is to force the arch:
|
#3010 added the native architecture detection so that rustup would install the native aarch64 Rust toolchain on aarch64 hosts by default (similar to how it installs native x86_64, even though rustup itself can be i686). I didn't realize it was also used for self-update. The simplest fix would be to close #2612 by enabling the distribution of aarch64 builds of stable rustup. I believe it's using Feel free to ping me if we need more testing on aarch64 hw. I have a Surface Pro X. |
Hi @arlosi @ehuss I’ve been bumping this thread for half a year now but nobody ever responded: #2612 (comment) Ring is hardly happening, and WebPKI is the next unmaintained project to update. Why can’t we just release the native-tls version of rustup-init on Windows arm64 for now (the one that is currently built on master)? We can always switch later if rustls is ever unblocked. |
@Alovchin91 I see that the last update to ring was 2 months ago. It looks far from abandoned. But, I agree that it shouldn't be a blocker for rustup. |
@ssg I didn't mean Ring is abandoned, but it's clearly not a priority for the author at the moment 🤷♂️ I've contributed Windows ARM support to ring-rs almost 1,5 years ago; since then there was no single release. |
I'm going to close this bug in favor of #2612. |
Problem
Trying to rustup update from 1.25.1 to 1.25.2 fails to update itself with this error message on ARM64 Windows:
Steps
rustup update
Possible Solution(s)
Put the missing file in place.
Notes
No response
Rustup version
1.25.1
Installed toolchains
The text was updated successfully, but these errors were encountered: