-
Notifications
You must be signed in to change notification settings - Fork 699
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
wrap-static-fns generates too many consts #2973
Comments
Make a try to use main branch. https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#unreleased
|
I think that has nothing to do with the issue |
I suspect the code at fault is here: rust-bindgen/bindgen/codegen/serialize.rs Lines 216 to 399 in 2269982
Sometimes we do weird things when following references to types and we might be adding an extra |
When running
bindgen --experimental --wrap-static-fns ...
on the following functionbindgen 0.69.5 generates the following C code in
extern.c
Which then fails to build with the following error
The text was updated successfully, but these errors were encountered: