Last active
October 12, 2020 19:32
-
-
Save extrawurst/3e0ad8bc967e70c0e04aefdec3172c45 to your computer and use it in GitHub Desktop.
.cargo/config for android linking (see also https://gist.github.com/extrawurst/ae3fd3ef152a878acfdc860db025e886)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[target.armv7-linux-androideabi] | |
linker = "/NDK/arm/bin/arm-linux-androideabi-clang" | |
[target.aarch64-linux-android] | |
linker = "/NDK/arm64/bin/aarch64-linux-android-clang" | |
[target.i686-linux-android] | |
linker = "/NDK/x86/bin/i686-linux-android-clang" | |
[target.x86_64-linux-android] | |
linker = "/NDK/x86/bin/x86_64-linux-android-clang" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Indeed, super useful to cross-compile.