-
Notifications
You must be signed in to change notification settings - Fork 15
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
adding new testsets to the directory, does not trigger a rebuild/generation. #1
Comments
Thanks for the link to the Pre-RFC :) good to know |
Extend the example, demonstrating usage of build-script-feature cargo:rerun-if-changed=PATH The conditional build process might look like:
Note: I am not sure Comments are welcome! |
I believe cargo is storing the file-set, I can find a citation if you would like. I don't know if Cargo will rerun the build script if a file is added. It won't be in the list of |
yes, build.rs is run every time, but as long as the data-sets are not changing, the cargo logic should then not rebuild the lib/app.The point is that build.rs will not generate rs-files, but just iterating the data-set files. |
Added a description to reddit https://www.reddit.com/r/rust/comments/aig2iv/cargo_reliable_code_generation_declaring/ |
Hast Du die Technik mit dem build-script bzw build-deps schon ausprobiert? Kann ich das Ticket schließen? |
Thanks for the workaround, and the explanation. I have not had time to experiment. I will close until someone can demonstrate a real occurrence. |
You already know about the issue. You describe it in the readme. I open this issue to track possible solutions, and to make you aware of the discussion in internals.
The text was updated successfully, but these errors were encountered: