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 #62

Merged
merged 5 commits into from May 24, 2022
Merged

fix #62

merged 5 commits into from May 24, 2022

Conversation

lattice0
Copy link
Contributor

I don't know how to install a local cargo tool neither how to test it, something's failing here but could you apply this change?

@lattice0
Copy link
Contributor Author

lattice0 commented May 21, 2022

I fixed #61

turns out

/home/user/Downloads/android-ndk-r23b-linux/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/

has also the subfolders

aarch64-linux-android/, x86_64-linux-android/, etc

which needs to be included with -I as well, so I added this automatically depending on the target triple. Also added the support for proper bindgen args, because you forgot to do - to _. Tested and works.

Please accept the PR, thanks :)

@bbqsrc bbqsrc merged commit 315388f into bbqsrc:main May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants