-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
0.47.0 introduced a dependency on libclang #434
Comments
I also got a
|
I think i also ran into this a while ago. @FelixMoelder i think this might be caused by this recent change: Line 24 in 5eb729b
|
So, this is probably related to this feature request in What I don't understand is: why does 0.46.0 work but 0.47.0 doesn't? If dependency on libclang.a is a general issue of bindgen, then why does 0.46.0 build fine for me? And vice versa, why does adding one header to hts-sys suddenly break things? 🤔 |
Has anyone tested this with 0.48.0? I'm a bit concerned that this issue is preventing us from updating past 0.46.0. We need to deploy to various linux's and docker images, introducing a dependency on libclang will cause a lot of pain... |
BINDGEN_EXTRA_CLANG_ARGS="-I clang+llvm-11.1.0-x86_64-linux-gnu-ubuntu-16.04/lib/clang/11.1.0/include" Not sure if this is a common problem. But compiling rust-htslib version > 0.46 was failing with this error for me. Often, I don't have permissions to install system packages so I keep a version of |
I tried to upgrade my code's dependency on rust-htslib to version 0.47.0 (from 0.46.0) but now when I do
cargo build -r
on Linux (eg in a docker container) withoutclang
, I get:Reverting back to 0.46.0 fixes the issue. I'm not sure what happened here, but I suspect it was not intentional?
The text was updated successfully, but these errors were encountered: