Skip to main content

cache_keys

Function cache_keys 

Source
pub fn cache_keys(
    crate_name: &str,
    blocks: &[Block],
    extra: &str,
) -> Result<Vec<String>, Error>
Expand description

The cache key of every block: SHA-256 over the crate name, the file, the block name, the imports, the source, the keys of the used blocks, extra (the hash of the @[csimp] replacements) and GENERATOR_VERSION.