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

Rebuild when any included header file changes #173

Closed
adetaylor opened this issue Jan 7, 2021 · 0 comments · Fixed by #182
Closed

Rebuild when any included header file changes #173

adetaylor opened this issue Jan 7, 2021 · 0 comments · Fixed by #182
Labels
good first issue Good for newcomers

Comments

@adetaylor
Copy link
Collaborator

We should ensure we output cargo:rerun-if-changed=src/input.h for each header file which is transitively included. We can do this using https://docs.rs/bindgen/0.56.0/bindgen/struct.CargoCallbacks.html but we probably want a more generic interface such that gen/cmd can do something sensible (e.g. generate a .d file) as well as gen/build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant