about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/messages.ftl
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-05-29 09:56:37 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-05-30 17:48:49 +1000
commit97d4a38de9fd6efb4588a7262cd9c66c2093e29f (patch)
tree8abd4ad711d5041c1bc85d77629e2f48514ebdac /compiler/rustc_monomorphize/messages.ftl
parent1c53407e8c7cc922d718bde61ca34f47b6d2120f (diff)
downloadrust-97d4a38de9fd6efb4588a7262cd9c66c2093e29f.tar.gz
rust-97d4a38de9fd6efb4588a7262cd9c66c2093e29f.zip
Remove `-Zcgu-partitioning-strategy`.
This option was introduced three years ago, but it's never been
meaningfully used, and `default` is the only acceptable value.

Also, I think the `Partition` trait presents an interface that is too
closely tied to the existing strategy and would probably be wrong for
other strategies. (My rule of thumb is to not make something generic
until there are at least two instances of it, to avoid this kind of
problem.)

Also, I don't think providing multiple partitioning strategies to the
user is a good idea, because the compiler already has enough obscure
knobs.

This commit removes the option, along with the `Partition` trait, and
the `Partitioner` and `DefaultPartitioning` types. I left the existing
code in `compiler/rustc_monomorphize/src/partitioning/default.rs`,
though I could be persuaded that moving it into
`compiler/rustc_monomorphize/src/partitioning/mod.rs` is better.
Diffstat (limited to 'compiler/rustc_monomorphize/messages.ftl')
0 files changed, 0 insertions, 0 deletions