Skip to main content

cache_env

Function cache_env 

Source
pub fn cache_env(home: &Path) -> Vec<(&'static str, PathBuf)>
Expand description

Compiler caches moved out of the per-user cache dir under /var/folders, which the sandbox does not let an agent write. clang and swiftc put their module cache there on macOS, so a Swift build fails. The new one sits under ~/Library/Caches, kept between runs and apart from the operator’s own builds, which never load a module an agent compiled