From 1e78f63d7208a81a617152a5858f6ad34da714c6 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Fri, 16 Oct 2020 14:31:18 -0400 Subject: [PATCH] Treat Apple's `arm64` as `aarch64` With this, I get the error ``` rustup: command failed: downloader https://static.rust-lang.org/rustup/dist/aarch64-apple-darwin/rustup-init ``` I believe that's where the binaries will be when they are published. --- rustup-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustup-init.sh b/rustup-init.sh index fbcbbbe371..b4aaebf1f1 100755 --- a/rustup-init.sh +++ b/rustup-init.sh @@ -260,7 +260,7 @@ get_architecture() { fi ;; - aarch64) + aarch64 | arm64) _cputype=aarch64 ;;