-
Notifications
You must be signed in to change notification settings - Fork 336
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
Add cost fn hash to caching path #2205
Comments
How cracy would it be to implement |
A little bit crazy. I wouldn't do that just to get a hash of it. |
How can we ensure that changes in |
Hm, that's a tough one. The macro can only access the code that's annotated with it. |
So, basically there is https://docs.rs/code-hasher/0.1.0/code_hasher/ and https://docs.rs/include-cargo-toml/0.1.0/include_cargo_toml/, but we could also implement our own, since both of these are very small. |
Sounds great. Happy for any implementation that works and that we can replace. So the idea here is to hash together 1. the |
Yes, exactly. |
Another note: We should make sure to backport this to all supported versions when it is implemented. |
Originally posted by @webmaster128 in #2204 (comment)
The text was updated successfully, but these errors were encountered: