You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Android NDK used to include libgcc for unwind support (which is required by Rust among others). From NDK r23, libgcc is removed, replaced by LLVM's libunwind (android/ndk#1230).
Rust 1.68.0 (released March 9 2023, shortly before this issue was opened) migrated to requiring NDK r25+ (the LTS at the time) for this reason.
So the cannot find -lunwind error should be avoidable as long as you're building with Rust 1.68+ and a recent NDK. The ubuntu-22.04 GitHub runner (used for ubuntu-latest) defaults to NDK r25, so it should work fine.
The CI breaks on android with the error
cannot find -lunwind
.The text was updated successfully, but these errors were encountered: