Skip to content
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

When generating bindings for custom components, allow users to provide a denylist of symbols which should not be generated #183

Open
ivmarkov opened this issue Mar 9, 2023 · 2 comments

Comments

@ivmarkov
Copy link
Collaborator

ivmarkov commented Mar 9, 2023

See here for more details: #318

@N3xed
Copy link
Collaborator

N3xed commented Mar 9, 2023

This is probably not feasible, as, without the bindings_module parameter set, the same bindgen instance that generates the main esp-idf bindings will also generate those of the extra components. And to my knowledge, there is no way to exclude symbols of specific C headers.

@ivmarkov
Copy link
Collaborator Author

ivmarkov commented Mar 9, 2023

Yeah, but then having a global denylist would be just as good, as we are not trying to prevent collisions between the components and esp idf, but rather, between C code and Rust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants