Skip to content

Commit 87b916e

Browse files
authored
cpufeatures: use cfg() to detect aarch64 android instead of [target.aarch64-linux-android] (#1204)
1 parent dfcd9a0 commit 87b916e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpufeatures/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ libc = { version = "0.2.155", default-features = false }
2424
[target.'cfg(all(target_arch = "loongarch64", target_os = "linux"))'.dependencies]
2525
libc = { version = "0.2.155", default-features = false }
2626

27-
[target.aarch64-linux-android.dependencies]
27+
[target.'cfg(all(target_arch = "aarch64", target_os = "android"))'.dependencies]
2828
libc = { version = "0.2.155", default-features = false }

0 commit comments

Comments
 (0)