-
Notifications
You must be signed in to change notification settings - Fork 45
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 crate when artefact contents change #540
Comments
I thought this was already the case (because they are |
I'm not sure if it works with |
So it looks like we can't add dependency on actual JSON files unless we |
If we just let _ = include_bytes!("source/path.json"); |
Yes, the optimizer will remove the data. However, the compiler will still read that data and include it into AST (at least HIR, not sure about MIR). This will potentially slow down compilation. Not sure if it's a real concern though. |
Yeah, its a downside for sure - but personally I view not recompiling as a bigger issue than the slower compile time. Is there a macro to include the cargo fingerprints without reading it? |
I'm not sure, probably no. |
Changes in artefact
.json
files should trigger a rebuild.The text was updated successfully, but these errors were encountered: