-
Notifications
You must be signed in to change notification settings - Fork 382
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
Add android runner to run android binaries. #720
Conversation
would it be possible to add a runner to the ci? |
We already have a runner, but I believe to reproduce this error we require the Should we try to build against a project with a |
we can make a new test repo for it to try on |
bors try --target android |
tryBuild succeeded: |
Android binaries currently fail to run, because `libc++_shared.so` is not found, so ensure the library is preloaded via `LD_PRELOAD`. This creates a simple `android-runner` file, so any additional changes can be added there. Linked Issues: cross-rs#82
Add qemu-user runners and C++ support for android, to test that the LD_PRELOAD works.
3b2fdef
to
8788c7d
Compare
This should be complete, I'm not sure if we need a 3rd party repository since we already test C++ support. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Build succeeded: |
Android binaries currently fail to run linking against certain dependencies, because
libc++_shared.so
is not found, so ensure the library is preloaded viaLD_PRELOAD
. This creates a simpleandroid-runner
file, so any additional changes can be added there.This merely links to the proper
libc++_shared.so
, so it doesn't fix other issues. The hello world project now compiles and runs onaarch64-linux-android
, but noti686-linux-android
, which seems to be entirely unrelated (likely a permission error on the cloud Fedora server I'm running).Linked Issues: #82