Skip to main content

should_precompute_dead_code_analysis

Function should_precompute_dead_code_analysis 

Source
pub fn should_precompute_dead_code_analysis(
    options: &HealthExecutionOptions<'_>,
    config: &ResolvedConfig,
) -> bool
Expand description

Return true when health sections will need dead-code analysis artifacts.

Callers that already have a session and parsed modules can precompute these artifacts once, then pass them into HealthPipelineInputs to avoid a second graph and dead-code analysis inside the health pipeline.