Skip to main content

parse_key

Function parse_key 

Source
pub fn parse_key(build_fp: &CacheKey, source_bytes: &[u8]) -> CacheKey
Expand description

Compute the parse-cache key for one source file.

build_fp mixes in the compiler binary hash, target, opt level, and preview-feature set; file_fp is the BLAKE3 of the source bytes. The resulting key is stable as long as both stay constant.