<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_monomorphize/src/partitioning, branch 1.89.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.89.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.89.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-04-16T21:13:31+00:00</updated>
<entry>
<title>working dupv and dupvonly for fwd mode</title>
<updated>2025-04-16T21:13:31+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-04-05T07:10:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a68ae0cbc1d923b69ef690f32b651ecf583ff27f'/>
<id>urn:sha1:a68ae0cbc1d923b69ef690f32b651ecf583ff27f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some dead code</title>
<updated>2025-03-11T08:41:15+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-03-11T08:41:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9882eca151a4c1c604597acd98072babb9e6ffcf'/>
<id>urn:sha1:9882eca151a4c1c604597acd98072babb9e6ffcf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Explain the actual reason why stripping binders is fine</title>
<updated>2025-03-11T08:40:35+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-02-24T09:22:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff5a8ad2abb45955dbeda46273242d6f0186cf2c'/>
<id>urn:sha1:ff5a8ad2abb45955dbeda46273242d6f0186cf2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clean up autodiff code/comments</title>
<updated>2025-02-22T02:47:48+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-02-22T02:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f4e2218b131b82097c720d28c1c2ea10922b0d47'/>
<id>urn:sha1:f4e2218b131b82097c720d28c1c2ea10922b0d47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>upstream rustc_codegen_ssa/rustc_middle changes for enzyme/autodiff</title>
<updated>2025-01-30T02:31:13+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-01-30T02:31:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f30517d40a9a8fe3b89479891c7a167adb75cbd'/>
<id>urn:sha1:1f30517d40a9a8fe3b89479891c7a167adb75cbd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `partitioning/mod.rs` as `partitioning.rs`.</title>
<updated>2023-05-30T07:48:55+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-05-30T07:41:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5ed014977e59f886a51844fcae8eab80467e45e6'/>
<id>urn:sha1:5ed014977e59f886a51844fcae8eab80467e45e6</id>
<content type='text'>
Because it's now the only file within
`compiler/rustc_monomorphize/src/partitioning/`.
</content>
</entry>
<entry>
<title>Merge `default.rs` into `mod.rs`.</title>
<updated>2023-05-30T07:48:54+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-05-30T07:39:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=66cf072ac8fa10648d5eccbacb75c7423204af1e'/>
<id>urn:sha1:66cf072ac8fa10648d5eccbacb75c7423204af1e</id>
<content type='text'>
Within `compiler/rustc_monomorphize/src/partitioning/`, because the
previous commit removed the need for `default.rs` to be a separate file.
</content>
</entry>
<entry>
<title>Remove `-Zcgu-partitioning-strategy`.</title>
<updated>2023-05-30T07:48:49+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-05-28T23:56:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=97d4a38de9fd6efb4588a7262cd9c66c2093e29f'/>
<id>urn:sha1:97d4a38de9fd6efb4588a7262cd9c66c2093e29f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Add struct for the return type of `place_root_mono_items`.</title>
<updated>2023-05-25T21:28:02+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-05-25T21:28:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e6b99a6521535d79a53b2111f236f82fae0b123e'/>
<id>urn:sha1:e6b99a6521535d79a53b2111f236f82fae0b123e</id>
<content type='text'>
As per review request.
</content>
</entry>
<entry>
<title>Remove some unnecessary `pub` markers.</title>
<updated>2023-05-25T04:27:37+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-05-25T04:27:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=86754cd8f280657d75b7dbae1845fa2c45ad28a9'/>
<id>urn:sha1:86754cd8f280657d75b7dbae1845fa2c45ad28a9</id>
<content type='text'>
</content>
</entry>
</feed>
