Skip to content

Commit 33116a6

Browse files
committed
fix(rustup-init/sh): map aarch64 Windows to gnullvm target
1 parent 8397feb commit 33116a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rustup-init.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,10 @@ get_architecture() {
473473

474474
aarch64 | arm64)
475475
_cputype=aarch64
476+
# Windows aarch64 uses gnullvm instead of gnu
477+
if [ "$_ostype" = "pc-windows-gnu" ]; then
478+
_ostype=pc-windows-gnullvm
479+
fi
476480
;;
477481

478482
x86_64 | x86-64 | x64 | amd64)

0 commit comments

Comments
 (0)