-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Compile for Android #267
Comments
Hi @kochia3, I'm not sure I fully understand your question. rustc is a cross-compiler, so it can generate targets for any architecture. Can you elaborate on your question? |
I was unable to do so, for example https://github.com/libbpf/libbpf-bootstrap uses xmake and ndk for that |
libbpf-rs/.github/workflows/test.yml Lines 107 to 136 in a2a62c3
Similar procedures will allow for compilation on different architectures. I don't believe we are familiar enough with Android to provide any guidance there. If you got something working, please feel free to open a pull request. |
How can I compile libbpf-rs based project for Android, x86_64 emulator or for arm64?
The text was updated successfully, but these errors were encountered: