Skip to main content

runtime_cache_path

Function runtime_cache_path 

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

The runtime cache segment, cache/0: one container holding every regenerable artifact the running application produces for its own later launches, indexed by producer and key. Resolves under the writable-state dir, since a shipped install’s content root may be read-only.

Deletable at any time; whatever is missing is recomputed. The running application writes this file and no other, so a concurrent build writing a segment of its own never shares a file with it.