Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Add default BINDGEN_EXTRA_CLANG_ARGS for AndroidEnvironment#109

Open
iota9star wants to merge 1 commit intoirondash:mainfrom
iota9star:main
Open

Add default BINDGEN_EXTRA_CLANG_ARGS for AndroidEnvironment#109
iota9star wants to merge 1 commit intoirondash:mainfrom
iota9star:main

Conversation

@iota9star
Copy link
Copy Markdown

📝 Description

Add default BINDGEN_EXTRA_CLANG_ARGS environment variable configuration for Android NDK builds to ensure bindgen correctly generates C/C++ bindings for the Android platform.

🔧 Changes

  • Added default BINDGEN_EXTRA_CLANG_ARGS configuration
  • Includes Android target architecture and sysroot path settings
  • Ensures bindgen can locate Android NDK headers and libraries

✅ Problem Solved

  • Fixes issue where bindgen couldn't properly parse Android-specific types and headers on Android platform
  • Eliminates the tedious manual environment variable setup
  • Improves consistency and reliability of Android builds

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant