Module rustc_incremental::persist [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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 self::fs::finalize_session_directory; |
pub use self::fs::garbage_collect_session_directories; |
pub use self::fs::in_incr_comp_dir; |
pub use self::fs::prepare_session_directory; |
pub use self::load::dep_graph_tcx_init; |
pub use self::load::load_dep_graph; |
pub use self::load::load_query_result_cache; |
pub use self::load::LoadResult; |
pub use self::save::save_dep_graph; |
pub use self::save::save_work_products; |
pub use self::work_product::save_trans_partition; |
pub use self::work_product::delete_workproduct_files; |
Modules
data |
[ Experimental ] The data that we will serialize and deserialize. |
dirty_clean |
[ Experimental ] Debugging code to test fingerprints computed for query results.
For each node marked with |
file_format |
[ Experimental ] 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 |
[ Experimental ] This module manages how the incremental compilation cache is represented in the file system. |
load |
[ Experimental ] Code to save/load the dep-graph from files. |
save |
[ Experimental ]
|
work_product |
[ Experimental ] This module contains files for saving intermediate work-products. |