]> git.lizzy.rs Git - rust.git/blob - src/librustc_incremental/lib.rs
fe75bbc36c3b1eea28fdf0cd7d93ff8c9bea65c9
[rust.git] / src / librustc_incremental / lib.rs
1 //! Support for serializing the dep-graph and reloading it.
2
3 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
4
5 #![feature(nll)]
6 #![feature(specialization)]
7
8 #![recursion_limit="256"]
9
10 #![deny(rust_2018_idioms)]
11
12 #[macro_use] extern crate rustc;
13 #[allow(unused_extern_crates)]
14 extern crate serialize as rustc_serialize; // used by deriving
15
16 #[macro_use] extern crate log;
17
18 mod assert_dep_graph;
19 pub mod assert_module_sources;
20 mod persist;
21
22 pub use assert_dep_graph::assert_dep_graph;
23 pub use persist::dep_graph_tcx_init;
24 pub use persist::{DepGraphFuture, load_dep_graph};
25 pub use persist::load_query_result_cache;
26 pub use persist::LoadResult;
27 pub use persist::copy_cgu_workproducts_to_incr_comp_cache_dir;
28 pub use persist::save_dep_graph;
29 pub use persist::save_work_product_index;
30 pub use persist::in_incr_comp_dir;
31 pub use persist::in_incr_comp_dir_sess;
32 pub use persist::prepare_session_directory;
33 pub use persist::finalize_session_directory;
34 pub use persist::delete_workproduct_files;
35 pub use persist::garbage_collect_session_directories;