parallel_generate

Function parallel_generate 

Source
pub fn parallel_generate(
    workspace: &WorkspaceInfo,
    crates: &[CrateInfo],
    action: &GenerationAction,
    force_run: bool,
) -> Vec<GenerateResult>
Expand description

Run generation-like work using the monolithic temp crate approach.

This prepares a single temp crate at workspace root that links all workspace crates, then runs the binary for each crate. Much faster on subsequent runs.

If force_run is true, the staleness check is skipped and the runner is always rebuilt.