-
Notifications
You must be signed in to change notification settings - Fork 703
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
Can't find system headers #242
Comments
D'oh! Nice catch. |
I have a similar problem:
bindgen: 0.20.2 |
This is on 64 bit? Huh, in any case, this is a different issue (a check that exists was broken), may you fill a new issue with the output of |
It wasn't a bug after all. I was missing the |
Make sure that we really have found clang
Similar to rust-lang#242. In my system, clang is a symlink to a versioned clang (e.g. clang-3.7), and this equality check to "clang" was failing. This patch makes the check more robust so it can match "clang" or "clang-3.7", but still reject a symlink to ccache.
I moved my previous reply here. |
More generally, the standard headers used by rust-bindgen are provided by the |
Looks like you go to the trouble of figuring out where to look - https://github.com/servo/rust-bindgen/blob/bdfab643e70df469dd0d163cc91bf48955250735/src/bin/bindgen.rs#L64-L67 - and then forget all about it! - https://github.com/servo/rust-bindgen/blob/bdfab643e70df469dd0d163cc91bf48955250735/src/bin/bindgen.rs#L73.
I think the fix is simply:
The text was updated successfully, but these errors were encountered: