Skip to main content

cache_enabled

Function cache_enabled 

Source
pub fn cache_enabled() -> bool
Expand description

cache_enabled — see implementation. Honors the process-local script_cache::CACHE_DISABLED AtomicBool first so parity-mode init can disable caches without exporting ZSHRS_CACHE=0 (which would otherwise leak into ${(k)parameters}).