<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_monomorphize/src, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-09T15:04:44+00:00</updated>
<entry>
<title>Auto merge of #145717 - BoxyUwU:erase_regions_rename, r=lcnr</title>
<updated>2025-09-09T15:04:44+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-09-09T15:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=364da5d88d772fa40fb20353443595385443ac25'/>
<id>urn:sha1:364da5d88d772fa40fb20353443595385443ac25</id>
<content type='text'>
rename erase_regions to erase_and_anonymize_regions

I find it consistently confusing that `erase_regions` does more than replacing regions with `'erased`. it also makes some code look real goofy to be writing manual folders to erase regions with a comment saying "we cant use erase regions" :&gt; or code that re-calls erase_regions on types with regions already erased just to anonymize all the bound regions.

r? lcnr

idk how i feel about the name being almost twice as long now
</content>
</entry>
<entry>
<title>erase_regions to erase_and_anonymize_regions</title>
<updated>2025-09-09T12:49:16+00:00</updated>
<author>
<name>Boxy</name>
<email>rust@boxyuwu.dev</email>
</author>
<published>2025-08-21T15:50:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e379c7758667f900aaf5551c4553c7d4c121e3e1'/>
<id>urn:sha1:e379c7758667f900aaf5551c4553c7d4c121e3e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixup limit handling code</title>
<updated>2025-09-08T22:07:12+00:00</updated>
<author>
<name>Jana Dönszelmann</name>
<email>jana@donsz.nl</email>
</author>
<published>2025-08-24T11:25:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6087d89004eda5e1f6406182b9866497ecb22e99'/>
<id>urn:sha1:6087d89004eda5e1f6406182b9866497ecb22e99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pub async fn implementation coroutine (func::{closure#0}) is monomorphized, when func itself is monomorphized</title>
<updated>2025-09-01T06:45:00+00:00</updated>
<author>
<name>Andrew Zhogin</name>
<email>andrew.zhogin@gmail.com</email>
</author>
<published>2025-07-01T16:54:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c2c58cbc65343f1a227885c7a5893f3e6d616e82'/>
<id>urn:sha1:c2c58cbc65343f1a227885c7a5893f3e6d616e82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #144865 - WaffleLapkin:track-tail, r=lqd</title>
<updated>2025-08-15T06:16:31+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-15T06:16:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44eb7a167c9df395c803bf113a933f668b4c278a'/>
<id>urn:sha1:44eb7a167c9df395c803bf113a933f668b4c278a</id>
<content type='text'>
Fix tail calls to `#[track_caller]` functions

We want `#[track_caller]` to be semver independent, i.e. it should not be a breaking change to add or remove it. Since it changes ABI of a function (adding an additional argument) we have to be careful to preserve this property when adding tail calls.

The only way to achieve this that I can see is:
- we forbid tail calls in functions which are marked with `#[track_caller]` (already implemented)
- tail-calling a `#[track_caller]` marked function downgrades the tail-call to a normal call (or equivalently tail-calls the shim made by fn def to fn ptr cast) (this pr)

Ideally the downgrade would be performed by a MIR pass, but that requires post mono MIR opts (cc ```@saethlin,``` rust-lang/rust#131650). For now I've changed code in cg_ssa to accomodate this behaviour (+ added a hack to mono collector so that the shim is actually generated)

Additionally I added a lint, although I don't think it's strictly necessary.

Alternative to rust-lang/rust#144762 (and thus closes rust-lang/rust#144762)
Fixes https://github.com/rust-lang/rust/issues/144755
</content>
</entry>
<entry>
<title>Complete functionality and general cleanup</title>
<updated>2025-08-14T16:30:15+00:00</updated>
<author>
<name>Marcelo Domínguez</name>
<email>dmmarcelo27@gmail.com</email>
</author>
<published>2025-08-14T15:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=250d77e5d72fde69a6406050a3b037635f685378'/>
<id>urn:sha1:250d77e5d72fde69a6406050a3b037635f685378</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #145323 - scrabsha:push-pqwvmznzzmpr, r=jdonszelmann</title>
<updated>2025-08-14T09:39:39+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-08-14T09:39:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44d3217c20ab0bdbbc9bd2edfc6810e6e605369e'/>
<id>urn:sha1:44d3217c20ab0bdbbc9bd2edfc6810e6e605369e</id>
<content type='text'>
Port the `#[linkage]` attribute to the new attribute system

r? `@jdonszelmann`
</content>
</entry>
<entry>
<title>Port the `#[linkage]` attribute to the new attribute system</title>
<updated>2025-08-13T19:01:37+00:00</updated>
<author>
<name>Sasha Pourcelot</name>
<email>sasha.pourcelot@protonmail.com</email>
</author>
<published>2025-08-12T18:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d435197afcb019a692aa1faf8b7169e167ac1de8'/>
<id>urn:sha1:d435197afcb019a692aa1faf8b7169e167ac1de8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup assoc parent utils</title>
<updated>2025-08-13T14:33:09+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2025-08-12T22:57:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4eb0947f133d8f44594d7551d99a48daff21c02'/>
<id>urn:sha1:d4eb0947f133d8f44594d7551d99a48daff21c02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix tail calls to `#[track_caller]` functions</title>
<updated>2025-08-13T00:26:52+00:00</updated>
<author>
<name>Waffle Lapkin</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2025-08-03T15:03:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=85d1c89e0fe2c9db253c6e4e53a19302584a2dfd'/>
<id>urn:sha1:85d1c89e0fe2c9db253c6e4e53a19302584a2dfd</id>
<content type='text'>
</content>
</entry>
</feed>
