Skip to content

Commit 6b9264e

Browse files
magic-akarirami3l
authored andcommitted
fix(rustup-init/sh): map aarch64 Windows to gnullvm target
1 parent beb121b commit 6b9264e

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
@@ -466,6 +466,10 @@ get_architecture() {
466466

467467
aarch64 | arm64)
468468
_cputype=aarch64
469+
# Windows aarch64 uses gnullvm instead of gnu
470+
if [ "$_ostype" = "pc-windows-gnu" ]; then
471+
_ostype=pc-windows-gnullvm
472+
fi
469473
;;
470474

471475
x86_64 | x86-64 | x64 | amd64)

0 commit comments

Comments
 (0)