-
Notifications
You must be signed in to change notification settings - Fork 747
BINDGEN_EXTRA_CLANG_ARGS for command line mode #1723
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
Comments
Ah, this should be relatively straight-forward to fix. Probably most of |
Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the If you intend to work on this issue, then add |
Hi, have looked at this abit and was wondering. Would it be something like in
then at : Line 1957 in b424c17 we call Bindings::generate_common(&mut options);
Im abit fuzzy on where in Line 1374 in d794a08 Before we go through the self.options.clang_args that the BINDGEN_EXTRA_CLANG_ARGS is stored?!
And then for it to just be run once we have a boolean argument to Pretty much here, set a boolean to true Line 1286 in b424c17
that we add to the Bindings::generate(self.option) abit lower down.
Thanks in advance :) |
Hey, if someone is interested in working on this, please please do. Will probably close my pr in a while if i don't see something easy i have missed. |
nevermind the above, have an actual patch that might be what is looked for in #1915 |
Uh oh!
There was an error while loading. Please reload this page.
when option dump-preprocessed-input is used, BINDGEN_EXTRA_CLANG_ARGS is evaluated AFTER handling dump-preprocessed-input which result errors like "head files not found" etc in cross-compiling.
The text was updated successfully, but these errors were encountered: