Skip to main content

cache_root

Function cache_root 

Source
pub fn cache_root() -> Result<PathBuf>
Expand description

The effective shared-cache root. This is the global trust anchor ($CARGO_HOME/config.toml, or the canonical default); project configs are read only to detect and refuse a shadowing build-dir. cargo metadata is deliberately not executed (it would trust/execute project config).