precompute_cast_analysis

Function precompute_cast_analysis 

Source
pub fn precompute_cast_analysis(path: &Path) -> Result<()>
Expand description

Pre-populate the on-disk cast analysis cache for a scheduler binary.

Called by cargo-ktstr before spawning nextest so test processes find a warm cache instead of each independently running the 30s analysis. Same-content callers across processes elect one builder, wait for its atomic publication, and then reuse the completed entry.