From a22caa32c09a6ca84a8eb746e66ef9a9cddbdacc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Tue, 11 Nov 2025 13:35:27 +0100 Subject: [PATCH] misc: Add better default `target-feature` values for Android in ARM64 devices --- .cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 399ebdbfc..a2f557f1a 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -7,3 +7,7 @@ crates-io = "https://docs.rs/" [unstable] rustdoc-map = true + +[target.aarch64-linux-android] +# These rust flags improve the performance on Android on arm64 +rustflags = ["-C", "target-feature=+neon,+aes,+sha2,+sha3,+pmuv3"]