From 7f839c75c23b89fa9ac126ec1d064008969bc995 Mon Sep 17 00:00:00 2001 From: Mikola Lysenko Date: Wed, 27 May 2026 10:56:12 -0400 Subject: [PATCH] ci(release): pin newer cross NDK image for aarch64-linux-android The default image bundled with cross 0.2.5 ships an NDK whose sysroot lacks libunwind on the linker path. Modern rustc emits `-lunwind` for Android targets, so the release build fails with `ld: cannot find -lunwind`. Override just the Android target to a digest-pinned cross main image, which ships an NDK that has libunwind available. All other targets keep their default cross 0.2.5 images. Co-Authored-By: Claude Opus 4.7 (1M context) --- Cross.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Cross.toml diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 00000000..4b43ec4d --- /dev/null +++ b/Cross.toml @@ -0,0 +1,2 @@ +[target.aarch64-linux-android] +image = "ghcr.io/cross-rs/aarch64-linux-android@sha256:2c8b8d97bfd7b0079679973085c69ce30741093f675565eb47eb15c2d59f6336"