about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-31 07:07:00 +0200
committerGitHub <noreply@github.com>2023-05-31 07:07:00 +0200
commit7ca941f18e2b1bd3db325e6653ad76d7d407003a (patch)
treed826e62574471257ddb528c552fdf664f951ce9b /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parentfdd62cfe7d2ea9189e957951b8b7b8251cd50854 (diff)
parent5ed014977e59f886a51844fcae8eab80467e45e6 (diff)
downloadrust-7ca941f18e2b1bd3db325e6653ad76d7d407003a.tar.gz
rust-7ca941f18e2b1bd3db325e6653ad76d7d407003a.zip
Rollup merge of #112053 - nnethercote:rm-Zcpu-partitioning-strategy, r=wesleywiser
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.

r? ``@wesleywiser``
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions