Skip to content

Commit 40e4b9c

Browse files
authored
Merge pull request #2133 from kinnison/kinnison/32bit-linux-on-64bit-kernel
rustup-init.sh: Support detecting 32bit userland on aarch64
2 parents 6cd55b1 + 287abf8 commit 40e4b9c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rustup-init.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,14 @@ get_architecture() {
309309
powerpc64)
310310
_cputype=powerpc
311311
;;
312+
aarch64)
313+
_cputype=armv7
314+
if [ "$_ostype" = "linux-android" ]; then
315+
_ostype=linux-androideabi
316+
else
317+
_ostype="${_ostype}eabihf"
318+
fi
319+
;;
312320
esac
313321
fi
314322

0 commit comments

Comments
 (0)