]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_trans/base.rs
Rollup merge of #46751 - michaelwoerister:c-incremental, r=alexcrichton
[rust.git] / src / librustc_trans / base.rs
index 79b3d314e12ffa00b5708eac8a801216bd2db3ac..ea68925705f521cb598d823ddd8578e3311f928b 100644 (file)
@@ -1024,7 +1024,7 @@ fn collect_and_partition_translation_items<'a, 'tcx>(
 
     assert_symbols_are_distinct(tcx, items.iter());
 
-    let strategy = if tcx.sess.opts.debugging_opts.incremental.is_some() {
+    let strategy = if tcx.sess.opts.incremental.is_some() {
         PartitioningStrategy::PerModule
     } else {
         PartitioningStrategy::FixedUnitCount(tcx.sess.codegen_units())