precompute_cast_analysis

Function precompute_cast_analysis 

Source
pub fn precompute_cast_analysis(path: &Path)
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. Safe to call from a background thread — the function is idempotent (content-hash-keyed) and writes atomically.