Skip to main content

write_generator_cache

Function write_generator_cache 

Source
pub fn write_generator_cache(
    out_dir: &Utf8Path,
    generator_name: &str,
    hash: &str,
) -> Result<()>
Expand description

Persist hash as the cache entry for generator_name.

Removes a stale legacy .weaveffi-cache regular file (written by older CLI versions that used a single global cache) before creating the new per-generator directory layout.