From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- compiler/rustc_incremental/src/persist/mod.rs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 compiler/rustc_incremental/src/persist/mod.rs (limited to 'compiler/rustc_incremental/src/persist/mod.rs') diff --git a/compiler/rustc_incremental/src/persist/mod.rs b/compiler/rustc_incremental/src/persist/mod.rs new file mode 100644 index 000000000..1336189bc --- /dev/null +++ b/compiler/rustc_incremental/src/persist/mod.rs @@ -0,0 +1,25 @@ +//! 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. + +mod data; +mod dirty_clean; +mod file_format; +mod fs; +mod load; +mod save; +mod work_product; + +pub use fs::finalize_session_directory; +pub use fs::garbage_collect_session_directories; +pub use fs::in_incr_comp_dir; +pub use fs::in_incr_comp_dir_sess; +pub use fs::prepare_session_directory; +pub use load::load_query_result_cache; +pub use load::LoadResult; +pub use load::{load_dep_graph, DepGraphFuture}; +pub use save::build_dep_graph; +pub use save::save_dep_graph; +pub use save::save_work_product_index; +pub use work_product::copy_cgu_workproduct_to_incr_comp_cache_dir; +pub use work_product::delete_workproduct_files; -- cgit v1.2.3