3
0
Fork 0
forked from mirrors/nixpkgs

systems: add appropriate rustc.config for android

Rust doesn't like the `-unknown` vendor component in the target triple.
This commit is contained in:
Milan Pässler 2021-04-09 09:17:54 +02:00 committed by Milan
parent 864dbf44a3
commit 5f7aa7a973

View file

@ -60,6 +60,7 @@ rec {
armv7a-android-prebuilt = {
config = "armv7a-unknown-linux-androideabi";
rustc.config = "armv7-linux-androideabi";
sdkVer = "29";
ndkVer = "21";
useAndroidPrebuilt = true;
@ -67,6 +68,7 @@ rec {
aarch64-android-prebuilt = {
config = "aarch64-unknown-linux-android";
rustc.config = "aarch64-linux-android";
sdkVer = "29";
ndkVer = "21";
useAndroidPrebuilt = true;