Remove DepKind::CrateMetadata and pre-allocation of DepNodes
Remove much of the special-case handling around crate metadata dependency tracking by replacing `DepKind::CrateMetadata` and the pre-allocation of corresponding `DepNodes` with on-demand invocation of the `crate_hash` query.
This commit is contained in:
parent
497c9a256b
commit
62139ffad4
9 changed files with 24 additions and 107 deletions
|
@ -17,7 +17,6 @@ mod persist;
|
|||
pub use assert_dep_graph::assert_dep_graph;
|
||||
pub use persist::copy_cgu_workproduct_to_incr_comp_cache_dir;
|
||||
pub use persist::delete_workproduct_files;
|
||||
pub use persist::dep_graph_tcx_init;
|
||||
pub use persist::finalize_session_directory;
|
||||
pub use persist::garbage_collect_session_directories;
|
||||
pub use persist::in_incr_comp_dir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue