Crate rustc_incremental [−] [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?
Support for serializing the dep-graph and reloading it.
Modules
assert_module_sources |
[ Experimental ] This pass is only used for UNIT TESTS related to incremental
compilation. It tests whether a particular |
Enums
LoadResult |
[ Experimental ]
|
Functions
assert_dep_graph |
[ Experimental ]
|
delete_workproduct_files |
[ Experimental ]
|
dep_graph_tcx_init |
[ Experimental ]
|
finalize_session_directory |
[ Experimental ] This function finalizes and thus 'publishes' the session directory by
renaming it to |
garbage_collect_session_directories |
[ Experimental ]
|
in_incr_comp_dir |
[ Experimental ]
|
load_dep_graph |
[ Experimental ] Launch a thread and load the dependency graph in the background. |
load_query_result_cache |
[ Experimental ]
|
prepare_session_directory |
[ Experimental ] 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 |
[ Experimental ]
|
save_trans_partition |
[ Experimental ]
|
save_work_products |
[ Experimental ]
|