Skip to content

Commit a22caa3

Browse files
committed
misc: Add better default target-feature values for Android in ARM64 devices
1 parent f61ba4f commit a22caa3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ crates-io = "https://docs.rs/"
77

88
[unstable]
99
rustdoc-map = true
10+
11+
[target.aarch64-linux-android]
12+
# These rust flags improve the performance on Android on arm64
13+
rustflags = ["-C", "target-feature=+neon,+aes,+sha2,+sha3,+pmuv3"]

0 commit comments

Comments
 (0)