Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

772 B
Raw Blame
[alias]
codegen = ["run", "-p", "codegen", "--"]

[env]
# Some targets, like armv7 Android, have no enabled target features, so Cargo
# otherwise omits CARGO_CFG_TARGET_FEATURE. llama-cpp-sys-2 expects it to exist.
CARGO_CFG_TARGET_FEATURE = ""

[target.'cfg(target_arch = "aarch64")']
rustflags = ["--cfg", "chacha20_force_neon"]

# Android 16 KB page-size support (required by Play Store from mid-2025).
# Every shared library must be linked with max-page-size=16384.
[target.aarch64-linux-android]
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"]

[target.x86_64-linux-android]
rustflags = ["-C", "link-arg=-Wl,-z,max-page-size=16384"]