[−][src]Crate rustc_incremental
Support for serializing the dep-graph and reloading it.
Modules
| assert_dep_graph | This pass is only used for the UNIT TESTS and DEBUGGING NEEDS
around dependency graph construction. It serves two purposes; it
will dump graphs in graphviz form to disk, and it searches for
|
| assert_module_sources | This pass is only used for UNIT TESTS related to incremental
compilation. It tests whether a particular |
| persist | 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. |
Enums
| LoadResult |
Functions
| assert_dep_graph | |
| copy_cgu_workproduct_to_incr_comp_cache_dir | |
| delete_workproduct_files | |
| dep_graph_tcx_init | |
| finalize_session_directory | This function finalizes and thus 'publishes' the session directory by
renaming it to |
| garbage_collect_session_directories | |
| in_incr_comp_dir | |
| in_incr_comp_dir_sess | |
| load_dep_graph | Launch a thread and load the dependency graph in the background. |
| load_query_result_cache | |
| prepare_session_directory | Allocates the private session directory. The boolean in the Ok() result
indicates whether we should try loading a dep graph from the successfully
initialized directory, or not.
The post-condition of this fn is that we have a valid incremental
compilation session directory, if the result is |
| save_dep_graph | |
| save_work_product_index |
Type Definitions
| DepGraphFuture |