Skip to main content

cache_dir

Function cache_dir 

Source
pub fn cache_dir() -> Option<PathBuf>
Expand description

Root cache directory: <os cache>/outl/runtimes/.

Creates the directory if missing. Returns None if the OS doesn’t expose a user cache dir (extremely rare — sandboxed CI without a HOME, for example) so the caller can fall back to compiling on the fly without caching.