]> git.lizzy.rs Git - rust.git/blob - src/librustc_incremental/lib.rs
Rollup merge of #56476 - GuillaumeGomez:invalid-line-number-match, r=QuietMisdreavus
[rust.git] / src / librustc_incremental / lib.rs
1 // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 //! Support for serializing the dep-graph and reloading it.
12
13 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
14       html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
15       html_root_url = "https://doc.rust-lang.org/nightly/")]
16
17 #![feature(nll)]
18 #![feature(specialization)]
19
20 #![recursion_limit="256"]
21
22 extern crate graphviz;
23 #[macro_use] extern crate rustc;
24 extern crate rustc_data_structures;
25 extern crate serialize as rustc_serialize;
26 extern crate rand;
27 extern crate rustc_fs_util;
28
29 #[macro_use] extern crate log;
30 extern crate syntax;
31 extern crate syntax_pos;
32
33 mod assert_dep_graph;
34 pub mod assert_module_sources;
35 mod persist;
36
37 pub use assert_dep_graph::assert_dep_graph;
38 pub use persist::dep_graph_tcx_init;
39 pub use persist::load_dep_graph;
40 pub use persist::load_query_result_cache;
41 pub use persist::LoadResult;
42 pub use persist::copy_cgu_workproducts_to_incr_comp_cache_dir;
43 pub use persist::save_dep_graph;
44 pub use persist::save_work_product_index;
45 pub use persist::in_incr_comp_dir;
46 pub use persist::in_incr_comp_dir_sess;
47 pub use persist::prepare_session_directory;
48 pub use persist::finalize_session_directory;
49 pub use persist::delete_workproduct_files;
50 pub use persist::garbage_collect_session_directories;