+1
.github/workflows/ci.yml
+1
.github/workflows/ci.yml
+6
-8
Cross.toml
+6
-8
Cross.toml
···
10
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main"
11
12
[target.aarch64-unknown-linux-gnu.env]
13
-
passthrough = ["CARGO_HOME", "CARGO_TARGET_DIR", "SQLX_OFFLINE"]
14
-
# Allow cross-compilation of native dependencies
15
-
PKG_CONFIG_ALLOW_CROSS = "1"
16
-
# Use static linking to reduce runtime dependencies
17
-
RUSTFLAGS = "-C target-feature=+crt-static -C link-arg=-s"
18
-
# Disable problematic features that might require OpenSSL
19
-
CC_aarch64_unknown_linux_gnu = "aarch64-linux-gnu-gcc"
20
-
CXX_aarch64_unknown_linux_gnu = "aarch64-linux-gnu-g++"