From 5f7aa7a97357f932e88b1667435317528e2b661e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=C3=A4ssler?= Date: Fri, 9 Apr 2021 09:17:54 +0200 Subject: [PATCH] systems: add appropriate rustc.config for android Rust doesn't like the `-unknown` vendor component in the target triple. --- lib/systems/examples.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 8a43b86db701..389c4eebcc89 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -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;