replay_output_cache in cargo::core::compiler - Rust
Description: Creates a unit of work that replays the cached compiler message.

Skip to main content

## replay_output_cache

# Function replay_output_cache

Source

    fn replay_output_cache(
        package_id: PackageId,
        manifest: ManifestErrorContext,
        target: &Target,
        path: PathBuf,
        output_options: OutputOptions,
    ) -> Work

Expand description

Creates a unit of work that replays the cached compiler message.

Usually used when a job is fresh and doesn’t need to recompile.