Skip to content

Commit

Permalink
Rollup merge of #120602 - klensy:mono-comment, r=nnethercote
Browse files Browse the repository at this point in the history
rustc_monomorphize: fix outdated comment in partition

`max_cgu_count` was removed in 5182151, but not comment (usage in `merge_codegen_units` was removed earlier).

r? `@nnethercote`
  • Loading branch information
matthiaskrgr committed Feb 6, 2024
2 parents 89aa85d + 17f0919 commit 5a2cec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_monomorphize/src/partitioning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ where
placed
};

// Merge until we have at most `max_cgu_count` codegen units.
// Merge until we don't exceed the max CGU count.
// `merge_codegen_units` is responsible for updating the CGU size
// estimates.
{
Expand Down

0 comments on commit 5a2cec2

Please sign in to comment.