Crate rustc_incremental [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, and 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.

Structs

IncrementalHashesMap [
Experimental
]

Functions

assert_dep_graph [
Experimental
]
compute_incremental_hashes_map [
Experimental
]
delete_workproduct_files [
Experimental
]
finalize_session_directory [
Experimental
]

This function finalizes and thus 'publishes' the session directory by renaming it to s-{timestamp}-{svh} and releasing the file lock. If there have been compilation errors, however, this function will just delete the presumably invalid session directory.

in_incr_comp_dir [
Experimental
]
load_dep_graph [
Experimental
]

If we are in incremental mode, and a previous dep-graph exists, then load up those nodes/edges that are still valid into the dep-graph for this session. (This is assumed to be running very early in compilation, before we've really done any work, but actually it doesn't matter all that much.) See README.md for more general overview.

save_dep_graph [
Experimental
]
save_trans_partition [
Experimental
]
save_work_products [
Experimental
]

Type Definitions

IchHasher [
Experimental
]