-
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
thread 'main' panicked at 'Not able to resolve vector element?: Continue', bindgen/ir/ty.rs:1149:22 #2325
Comments
Ping @emilio |
Hmm, that crashes clang-14 here:
But I can repro on clang trunk. |
This fixes rust-lang#2325. The issue is that `__bf16` is not exposed at all by libclang, which causes us to crash. It's a bit of a shame libclang doesn't expose it but there's no rust equivalent I think, so this should be ok for now. Unfortunately no test because the header crashes older clang versions.
This fixes #2325. The issue is that `__bf16` is not exposed at all by libclang, which causes us to crash. It's a bit of a shame libclang doesn't expose it but there's no rust equivalent I think, so this should be ok for now. Unfortunately no test because the header crashes older clang versions.
With clang LLVM 16 rust-bindgen 0.56.0 is too old, see rust-lang/rust-bindgen#2319 rust-lang/rust-bindgen#2312 rust-lang/rust-bindgen#2488 rust-lang/rust-bindgen#2339 rust-lang/rust-bindgen#2325
Sorry for bumping this old issue but I'm not knowledgeable enough to fill out a new issue template. I ran into this issue trying to compile I don't know if this repo is the right place for EDIT: I'm not the library creator (I'm just trying to use it in my project) and don't know much about the subject, I tried contacting the dev for support but they either can't replicate it or can't figure it out either. |
Hi @ShayBox, we don't have any association with the |
Hmm I figured this was the repo for |
Clang trunk recently moved some declarations around, which ended up exposing them in what Firefox processes for bindings, and this breaks bindgen:
Input C/C++ Header
Bindgen Invocation
Actual Results
The text was updated successfully, but these errors were encountered: