diff options
| author | Tyson Nottingham <tgnottingham@gmail.com> | 2021-01-01 14:06:17 -0800 |
|---|---|---|
| committer | Tyson Nottingham <tgnottingham@gmail.com> | 2021-01-12 11:22:57 -0800 |
| commit | 62139ffad4a77d45b9651b04b440c89c5b9c1b5c (patch) | |
| tree | d0fc8cd89acc34f082884682709cc85be11784fb /compiler/rustc_incremental/src/lib.rs | |
| parent | 497c9a256b1c2961e91565ccc6e0dd3a87a031ed (diff) | |
| download | rust-62139ffad4a77d45b9651b04b440c89c5b9c1b5c.tar.gz rust-62139ffad4a77d45b9651b04b440c89c5b9c1b5c.zip | |
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.
Diffstat (limited to 'compiler/rustc_incremental/src/lib.rs')
| -rw-r--r-- | compiler/rustc_incremental/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_incremental/src/lib.rs b/compiler/rustc_incremental/src/lib.rs index a80c4be3e93..95456c07b10 100644 --- a/compiler/rustc_incremental/src/lib.rs +++ b/compiler/rustc_incremental/src/lib.rs @@ -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; |
