We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc25fbe commit 819bf71Copy full SHA for 819bf71
compiler/rustc_monomorphize/src/partitioning.rs
@@ -161,10 +161,11 @@ where
161
162
debug_dump(tcx, "INITIAL PARTITIONING", &codegen_units);
163
164
+ // njn: update comment
165
// Merge until we have at most `max_cgu_count` codegen units.
166
// `merge_codegen_units` is responsible for updating the CGU size
167
// estimates.
- {
168
+ if cx.tcx.sess.opts.incremental.is_none() {
169
let _prof_timer = tcx.prof.generic_activity("cgu_partitioning_merge_cgus");
170
merge_codegen_units(cx, &mut codegen_units);
171
debug_dump(tcx, "POST MERGING", &codegen_units);
0 commit comments