Expand description

When in incremental mode, this pass dumps out the dependency graph into the given directory. At the same time, it also hashes the various HIR nodes.

Re-exports

Modules

  • data 🔒
    The data that we will serialize and deserialize.
  • Debugging code to test fingerprints computed for query results. For each node marked with #[rustc_clean] we will compare the fingerprint from the current and from the previous compilation session as appropriate:
  • This module defines a generic file format that allows to check if a given file generated by incremental compilation was generated by a compatible compiler version. This file format is used for the on-disk version of the dependency graph and the exported metadata hashes.
  • fs 🔒
    This module manages how the incremental compilation cache is represented in the file system.
  • load 🔒
    Code to save/load the dep-graph from files.
  • save 🔒
  • Functions for saving and removing intermediate work products.