From 956ea301b74343e75db62bf4db626bebc5a62197 Mon Sep 17 00:00:00 2001 From: 1c7718e7 <19761519+1c7718e7@users.noreply.github.com> Date: Tue, 19 Aug 2025 16:24:01 +0300 Subject: [PATCH] cpufeatures: use cfg() to detect aarch64 android --- cpufeatures/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpufeatures/Cargo.toml b/cpufeatures/Cargo.toml index dd23c641..b3603d0a 100644 --- a/cpufeatures/Cargo.toml +++ b/cpufeatures/Cargo.toml @@ -24,5 +24,5 @@ libc = { version = "0.2.155", default-features = false } [target.'cfg(all(target_arch = "loongarch64", target_os = "linux"))'.dependencies] libc = { version = "0.2.155", default-features = false } -[target.aarch64-linux-android.dependencies] +[target.'cfg(all(target_arch = "aarch64", target_os = "android"))'.dependencies] libc = { version = "0.2.155", default-features = false }