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

Fixes for Android / Termux #62

Merged
merged 1 commit into from
May 4, 2024
Merged

Conversation

devyn
Copy link
Contributor

@devyn devyn commented May 4, 2024

Fix the following issues for Android:

  • std::os::linux was assumed to be available, but it's actually std::os::android
  • /tmp is used as the base path by default, but TMPDIR must be used on Termux
  • c_char was assumed to be i8, but it's actually u8 on aarch64

Can confirm that the tests pass with this patch under Termux on both x86_64 and aarch64. I have not tested 32-bit architectures.

@sholderbach
Copy link

Thanks for already working on this @devyn! This could possibly fix #63 as well.

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.

3 participants