-
Notifications
You must be signed in to change notification settings - Fork 698
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
Panic with C++ template templates #555
Comments
Thanks for the bug report! Rust doesn't have higher kinded types, so we can't meaningfully translate template template parameters to Rust right now. We should however not panic and generate opaque blobs in the place of instantiations of template definitions with template template parameters. Note to self: need to revisit this once #544 lands. |
Yup, not panicing is all I'm looking for here, otherwise I'm just unable to generate my bindings for the types I've whitelisted (I got this code from an included library). |
Yeah, this is mostly a duplicate of #388. |
You're right, this is an exact duplicate. @jsgf's code is actually the original code I ran into which was causing the panic :) |
Input C/C++ Header
Bindgen Invokation
Expected Results
This shouldn't panic.
RUST_LOG=bindgen
OutputThe text was updated successfully, but these errors were encountered: