about summary refs log tree commit diff
path: root/compiler/rustc_incremental
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2025-04-11 21:27:53 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2025-05-01 10:20:31 +0200
commitd3ec14bbec7d3647a3c1a3bfdf2cafb0f72bf937 (patch)
tree4485d31b3edeee71a11a188090a62f5178dbd8fb /compiler/rustc_incremental
parent6e23095adf9209614a45f7f75fea36dad7b92afb (diff)
downloadrust-d3ec14bbec7d3647a3c1a3bfdf2cafb0f72bf937.tar.gz
rust-d3ec14bbec7d3647a3c1a3bfdf2cafb0f72bf937.zip
Use thread local dep graph encoding
Diffstat (limited to 'compiler/rustc_incremental')
-rw-r--r--compiler/rustc_incremental/src/persist/save.rs13
1 files changed, 1 insertions, 12 deletions
diff --git a/compiler/rustc_incremental/src/persist/save.rs b/compiler/rustc_incremental/src/persist/save.rs
index 94ce6d9fa81..58fea3278a8 100644
--- a/compiler/rustc_incremental/src/persist/save.rs
+++ b/compiler/rustc_incremental/src/persist/save.rs
@@ -44,10 +44,6 @@ pub(crate) fn save_dep_graph(tcx: TyCtxt<'_>) {
         sess.time("assert_dep_graph", || assert_dep_graph(tcx));
         sess.time("check_dirty_clean", || dirty_clean::check_dirty_clean_annotations(tcx));
 
-        if sess.opts.unstable_opts.incremental_info {
-            tcx.dep_graph.print_incremental_info()
-        }
-
         join(
             move || {
                 sess.time("incr_comp_persist_dep_graph", || {
@@ -172,12 +168,5 @@ pub(crate) fn build_dep_graph(
     // First encode the commandline arguments hash
     sess.opts.dep_tracking_hash(false).encode(&mut encoder);
 
-    Some(DepGraph::new(
-        sess,
-        prev_graph,
-        prev_work_products,
-        encoder,
-        sess.opts.unstable_opts.query_dep_graph,
-        sess.opts.unstable_opts.incremental_info,
-    ))
+    Some(DepGraph::new(sess, prev_graph, prev_work_products, encoder))
 }