Skip to content

Commit

Permalink
get-rust-target: fix triplet for x86/aarch64 android
Browse files Browse the repository at this point in the history
aarch64-unknown-linux-android is not the correct triplet for compiling
rust for android, and "-unknown" should be dropped.

The same applies to other targets except armv7, which ends with
androideabi instead of android.
  • Loading branch information
alexandre-janniaux authored and fkuehne committed Feb 23, 2025
1 parent 9ab6e68 commit 848c2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/src/get-rust-target.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ case $OS in
android)
case $ARCH in
aarch64|i686|x86_64)
return_triplet $TRIPLET
return_triplet "$ARCH-linux-android"
;;
esac
;;
Expand Down

0 comments on commit 848c2c0

Please sign in to comment.