rustc-dev-guide icon indicating copy to clipboard operation
rustc-dev-guide copied to clipboard

Describe query recovery

Open Aaron1011 opened this issue 4 years ago • 1 comments

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).

Aaron1011 avatar Jan 04 '22 03:01 Aaron1011

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

spastorino avatar Jan 18 '22 14:01 spastorino