Skip to main content

clear_import_cache

Function clear_import_cache 

Source
pub fn clear_import_cache()
Expand description

Clear the import cache.

Call at the start of a fresh top-level evaluation when you need to guarantee that no stale values survive from a previous session. During normal flake evaluation this should not be called — the cache intentionally spans recursive evaluate_flake calls.