lann opened PR #5826 from precompile-compat-key
to main
:
Draft for #5802 for naming / impl feedback prior to writing tests.
After writing the implementation I landed on
precompile_compatibility_key
to show the relationship withprecompile_{module,component}
, but can revert to the discussedcache_key
if desired.
lann updated PR #5826 from precompile-compat-key
to main
.
lann submitted PR review.
lann created PR review comment:
Unclear to me if this is needed for this method.
lann submitted PR review.
lann created PR review comment:
I think a non-crypto hash is safe enough here. If an attacker can control enough of the build_compiler_info to force a collision you probably are already done for.
lann edited PR review comment.
lann edited PR review comment.
lann edited PR review comment.
lann edited PR review comment.
Last updated: Dec 23 2024 at 12:05 UTC