mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
systems: add appropriate rustc.config for android
Rust doesn't like the `-unknown` vendor component in the target triple.
This commit is contained in:
parent
864dbf44a3
commit
5f7aa7a973
@ -60,6 +60,7 @@ rec {
|
|||||||
|
|
||||||
armv7a-android-prebuilt = {
|
armv7a-android-prebuilt = {
|
||||||
config = "armv7a-unknown-linux-androideabi";
|
config = "armv7a-unknown-linux-androideabi";
|
||||||
|
rustc.config = "armv7-linux-androideabi";
|
||||||
sdkVer = "29";
|
sdkVer = "29";
|
||||||
ndkVer = "21";
|
ndkVer = "21";
|
||||||
useAndroidPrebuilt = true;
|
useAndroidPrebuilt = true;
|
||||||
@ -67,6 +68,7 @@ rec {
|
|||||||
|
|
||||||
aarch64-android-prebuilt = {
|
aarch64-android-prebuilt = {
|
||||||
config = "aarch64-unknown-linux-android";
|
config = "aarch64-unknown-linux-android";
|
||||||
|
rustc.config = "aarch64-linux-android";
|
||||||
sdkVer = "29";
|
sdkVer = "29";
|
||||||
ndkVer = "21";
|
ndkVer = "21";
|
||||||
useAndroidPrebuilt = true;
|
useAndroidPrebuilt = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user