Module 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§

pub use fs::finalize_session_directory;
pub use fs::in_incr_comp_dir;
pub use fs::in_incr_comp_dir_sess;
pub use load::LoadResult;
pub use load::load_query_result_cache;
pub use load::setup_dep_graph;
pub use save::save_work_product_index;
pub use work_product::copy_cgu_workproduct_to_incr_comp_cache_dir;

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.