diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-06 19:40:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-06 19:40:07 +0100 |
| commit | 5a2cec2615248e327f8467b0420bc94d90cd2443 (patch) | |
| tree | 715ba861d213f18e6a7652474ba6586eb7f923be | |
| parent | 89aa85d805b0658d218b2860b598e3511450005a (diff) | |
| parent | 17f0919e8acba48224558c7ebcfc06f14d30d235 (diff) | |
| download | rust-5a2cec2615248e327f8467b0420bc94d90cd2443.tar.gz rust-5a2cec2615248e327f8467b0420bc94d90cd2443.zip | |
Rollup merge of #120602 - klensy:mono-comment, r=nnethercote
rustc_monomorphize: fix outdated comment in partition `max_cgu_count` was removed in https://github.com/rust-lang/rust/commit/51821515b3ccd7dd8f42ffd6a2eee536dcf7ddb0, but not comment (usage in `merge_codegen_units` was removed earlier). r? `@nnethercote`
| -rw-r--r-- | compiler/rustc_monomorphize/src/partitioning.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_monomorphize/src/partitioning.rs b/compiler/rustc_monomorphize/src/partitioning.rs index 4f6ea66df7b..5cfebcaa5a5 100644 --- a/compiler/rustc_monomorphize/src/partitioning.rs +++ b/compiler/rustc_monomorphize/src/partitioning.rs @@ -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. { |
