Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI for x86_64-linux-android and i686-linux-android #624

Open
VictorKoenders opened this issue Mar 30, 2023 · 1 comment
Open

Fix CI for x86_64-linux-android and i686-linux-android #624

VictorKoenders opened this issue Mar 30, 2023 · 1 comment

Comments

@VictorKoenders
Copy link
Contributor

The CI breaks on android with the error cannot find -lunwind.

@str4d
Copy link

str4d commented May 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants