Skip to main content

CODEGEN_FINGERPRINT

Constant CODEGEN_FINGERPRINT 

Source
pub const CODEGEN_FINGERPRINT: &str = "3d0f21963b6b2f7bb8145cbbccd5aba8354e2431fe3267f94fbd8349b8b9f9a9";
Expand description

Build-time fingerprint of the compiler front-end — the lexer, parser, IR, and code generator — computed in build.rs from those crates’ source and baked in via cargo:rustc-env. Folded into the cache key so a compiler change that alters emitted bytecode for unchanged source invalidates stale entries automatically, within a single version, with no manual cache wipe. HARN_VERSION only busts the cache across release bumps; this closes the same gap for the within-version compiler edits that masked #2610. See #2621.