π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix Android build
Vishnu Mohandas64571b438bbc
diff --git a/rust/.cargo/config.toml b/rust/.cargo/config.tomlindex 8ae058feb8..bdfbe510cc 100644--- a/rust/.cargo/config.toml+++ b/rust/.cargo/config.toml@@ -10,7 +10,8 @@ rustflags = ["--cfg", "chacha20_force_neon"]rustflags = ["--cfg", "chacha20_force_neon", "-C", "link-arg=-Wl,-z,max-page-size=16384"][target.armv7-linux-androideabi]-rustflags = ["-C", "link-arg=-Wl,-z,max-page-size=16384"]+# llama-cpp-sys-2 expects Cargo to provide CARGO_CFG_TARGET_FEATURE; armv7 Android has none by default.+rustflags = ["--cfg", "target_feature=\"\"", "-C", "link-arg=-Wl,-z,max-page-size=16384"][target.x86_64-linux-android]rustflags = ["-C", "link-arg=-Wl,-z,max-page-size=16384"]