Skip to content

Commit c20619b

Browse files
ci(release): pin newer cross NDK image for aarch64-linux-android (#86)
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) <noreply@anthropic.com>
1 parent dde67db commit c20619b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Cross.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[target.aarch64-linux-android]
2+
image = "ghcr.io/cross-rs/aarch64-linux-android@sha256:2c8b8d97bfd7b0079679973085c69ce30741093f675565eb47eb15c2d59f6336"

0 commit comments

Comments
 (0)