Module rustc_incremental::persist

source ยท
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.
  • dirty_clean ๐Ÿ”’
    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:
  • file_format ๐Ÿ”’
    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 load the dep-graph from files.
  • save ๐Ÿ”’
  • work_product ๐Ÿ”’
    Functions for saving and removing intermediate work products.