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"]