Skip to content

Describe query recovery #1285

Open
Open
@Aaron1011

Description

@Aaron1011
Member

The section on incremental compilation mentions 're-running' a query when one of its inputs is red. We should describe this process ("recovery") in detail. In particular, we should note that this is currently only possible when the query ID can be mapped to a DefPathHash (this is the case for CrateNum, LocalDefId, and DefId).

Activity

added
E-hardDifficulty: might require advanced knowledge
on Jan 4, 2022
spastorino

spastorino commented on Jan 18, 2022

@spastorino
Member

@Aaron1011 agreed, it would be great to document that in more detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: incremental compilationA-query-systemArea: query systemE-hardDifficulty: might require advanced knowledgeT-compilerRelevant to compiler team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @spastorino@Aaron1011@camelid@jieyouxu

        Issue actions

          Describe query recovery · Issue #1285 · rust-lang/rustc-dev-guide