Skip to content

Commit

Permalink
Unrolled build for rust-lang#120602
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#120602 - klensy:mono-comment, r=nnethercote

rustc_monomorphize: fix outdated comment in partition

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

r? `@nnethercote`
  • Loading branch information
rust-timer committed Feb 6, 2024
2 parents 4a2fe44 + 17f0919 commit a6ae3cb
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 a6ae3cb

Please sign in to comment.