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

Automatically generate cargo:rerun-if-changed #1461

Open
nyurik opened this issue Mar 6, 2025 · 0 comments · May be fixed by #1463
Open

Automatically generate cargo:rerun-if-changed #1461

nyurik opened this issue Mar 6, 2025 · 0 comments · May be fixed by #1463

Comments

@nyurik
Copy link
Contributor

nyurik commented Mar 6, 2025

I think by now the cargo:rerun-if-changed=<path> is ubiqutous in all cxx-using cases, so I think it would make a lot of sense to automatically generate these as part of the bridge building. This is especially important because most of the time the path string is hardcoded in the user's code, so may be easily mismatch and cause surprising behavior.

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

Successfully merging a pull request may close this issue.

1 participant