-
Notifications
You must be signed in to change notification settings - Fork 706
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
Dependency on LIBCLANG_PATH
is not propagated back to cargo
#1766
Comments
I do not know all of the things that "can influence loading of the libclang", and my proposed #1809 may or may not sufficiently cover all the cases, but I think it meets the main need here. |
Well, #1809 only addresses bindgen's tests. Ideally we should do something a bit more automatic here... Maybe |
Ah, indeed. We invoke But yeah, this should be closed, behavior here after your PR is correct, thanks @kulp! |
Good point about |
I see you are way ahead of me in #1811. Thanks ! |
I have upgraded clang from 7.0 to 10.0 and set
LIBCLANG_PATH
(the path changed) to a new clang, however to my surprisecargo build
did not rebuild any of the crates that depend on bindgen to generate bindings.Bindgen should be telling cargo to rerun the build.rs for the crate if following are true:
LIBCLANG_PATH
has changed…and whatever other things can influence loading of the libclang.
The text was updated successfully, but these errors were encountered: