Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
rustup-init.sh: Support detecting 32bit userland on aarch64
Browse files Browse the repository at this point in the history
We duplicate the 'eabihf' suffix code here to ensure that if we
select armv7 as a result, we append the ABI suffix if necessary.

This should fix rust-lang#2111

Signed-off-by: Daniel Silverstone <[email protected]>
  • Loading branch information
kinnison committed Nov 17, 2019
1 parent ecb32c6 commit bb58d24
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rustup-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,14 @@ get_architecture() {
powerpc64)
_cputype=powerpc
;;
aarch64)
_cputype=armv7
if [ "$_ostype" = "linux-android" ]; then
_ostype=linux-androideabi
else
_ostype="${_ostype}eabihf"
fi
;;
esac
fi

Expand Down

0 comments on commit bb58d24

Please sign in to comment.