-
Notifications
You must be signed in to change notification settings - Fork 33
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
print cargo::rerun-if-changed directives from cttests/build.rs #543
Conversation
Emit cargo::rerun-if-changed from src/*.rs, src/*.test, storaget.l, storaget.y, storaget.l.rs storaget.y.rs. Files that are not emitted include *.test.l, *.test.y, and their respective .l.rs and .y.rs files. This is because the .test cgen_helper don't check timestamps and would always result in spurious rebuilds.
12385fc
to
270abee
Compare
I'm not sure if this is the right tool here, but would https://crates.io/crates/rerun_except help? |
I'm not certain, like I'm adding I think we could emit better filenames, like: That is to say that currently without the |
So probably best to merge as-is? |
Let me try changing the extensions, and see if it helps/hurts, I think it'll likely help |
I think I would have said it was an improvement, We have to change all the We end up with something such as the following, however
That is to say, that the Let me know if you'd like me to push this (somewhere) if you want to look at it |
Ah, yes, rerun_except will almost certainly ignore |
Yeah, I think so, the excessive number So I think it is okay to merge as-is, in that I'm certain it could be improved but I'm not sure what we could do about it today. |
Alright so, the next 2 things on my list are
Then after that perhaps experiment with #541 at least enough to do a proof of concept and see if it is something that requires any breaking changes or might be feasibly done without (now that we use |
Emit cargo::rerun-if-changed from src/.rs, src/.test, storaget.l, storaget.y, storaget.l.rs storaget.y.rs.
Files that are not emitted include *.test.l, *.test.y, and their respective .l.rs and .y.rs files. This is because the .test cgen_helper don't check timestamps and would always result in spurious rebuilds.