You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a bunch of repr(u8) or repr(u16) enums in my project. They are marked with pub, but aren't loaded with pub mod, only mod. Therefore, they're not part of the public API. For some of them (but not all!) cbindgen generates their definitions in the output header file, as well as a few locally public (but still private to the public API). Additionally, arbitrary unused headers are included (such as stdlib.h, stdarg.h, etc).
I have tried it using both the default config file found in the docs, as well as an empty config file, and both resulting in the dane weird quirk. Maybe I'm doing something wrong, but this seems like really strange default behavior.
Thank you for all of your hard work!
The text was updated successfully, but these errors were encountered:
I have a bunch of repr(u8) or repr(u16) enums in my project. They are marked with
pub
, but aren't loaded withpub mod
, onlymod
. Therefore, they're not part of the public API. For some of them (but not all!) cbindgen generates their definitions in the output header file, as well as a few locally public (but still private to the public API). Additionally, arbitrary unused headers are included (such as stdlib.h, stdarg.h, etc).I have tried it using both the default config file found in the docs, as well as an empty config file, and both resulting in the dane weird quirk. Maybe I'm doing something wrong, but this seems like really strange default behavior.
Thank you for all of your hard work!
The text was updated successfully, but these errors were encountered: