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

aarch64-bindings #101

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

rustysec
Copy link

@rustysec rustysec commented Feb 8, 2023

added bindings for:

  • aarch64-unknown-linux-musl
  • aarch64-unknown-linux-gnu
  • aarch64-apple-darwin

for whatever reason cross was being a pain when trying to use bindgen

@Hugal31
Copy link
Owner

Hugal31 commented Feb 9, 2023

I'm not sure about this one. We don't have any pipeline step that easily allow to regenerate and test those, which will make updating the Yara version difficult.

Maybe we can create Github actions using Qemu?

@rustysec
Copy link
Author

rustysec commented Feb 9, 2023

perhaps. i spent a lot of time in rust-cross trying to get bindgen to play along, but i could re-attack that as it is the best solution. feel free to close this out if it is too much of a headache.

@Hugal31
Copy link
Owner

Hugal31 commented Feb 13, 2023

What was your process to generate those files?

@rustysec
Copy link
Author

for macos i just ran bindgen manually on my mbp.

for the linux variants i ran bindgen in an arm vm, but had to manually intervene with a couple of definitions. i could throw the changes i had to make into build.rs to automate it.

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.

2 participants