Skip to content

"cargo clean; cargo build" doesn't save work w/ incremental #35167

Closed
@nikomatsakis

Description

@nikomatsakis

In fixing #34991, I tried an experiment of doing cargo build then cargo clean and cargo build with incremental compilation enabled. I believe that, in principle, this ought to enable full-reuse, since the sources haven't changed. It did not. It's worth making a small cargo package and experimenting with why this might be the case (or maybe even small standalone rustc program, though we do see reuse in specific examples).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions