<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/codegen-units, 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-06-22T16:03:42+00:00</updated>
<entry>
<title>Fix tests to drop now-skipped codegen</title>
<updated>2025-06-22T16:03:42+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2025-06-14T14:36:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4568d9135e55cfc8739b465970aa636a0d45c1b'/>
<id>urn:sha1:b4568d9135e55cfc8739b465970aa636a0d45c1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Skip collecting no-op DropGlue in vtables</title>
<updated>2025-06-21T22:59:36+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2025-06-14T14:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f405735078ac34be300fd2bd7c532aaa0bb6fc5'/>
<id>urn:sha1:1f405735078ac34be300fd2bd7c532aaa0bb6fc5</id>
<content type='text'>
Since 122662 this no longer gets used in vtables, so we're safe to fully
drop generating these empty functions. Those are eventually cleaned up
by LLVM, but it's wasteful to produce them in the first place.

This also adds a missing test for fn-ptr casts, which do still need to
generate no-op drop glue. It's possible a future optimization could
point all of those at the same drop glue (e.g., for *mut ()) rather than
for each separate type, but that would require extra work for CFI and
isn't particularly easy to do anyway.
</content>
</entry>
<entry>
<title>tests: `{Meta,Pointee}Sized` in non-minicore tests</title>
<updated>2025-06-16T23:04:33+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood2@arm.com</email>
</author>
<published>2025-01-23T11:25:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=322cc315040da14c12f84d74fd5761c5d064e50e'/>
<id>urn:sha1:322cc315040da14c12f84d74fd5761c5d064e50e</id>
<content type='text'>
As before, add `MetaSized` and `PointeeSized` traits to all of the
non-minicore `no_core` tests so that they don't fail for lack of
language items.
</content>
</entry>
<entry>
<title>Remove mono item collection strategy override from -Zprint-mono-items</title>
<updated>2025-05-09T10:19:09+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2025-05-09T08:36:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c8225afe8777a93aa635a252fb6a785d30d0527'/>
<id>urn:sha1:8c8225afe8777a93aa635a252fb6a785d30d0527</id>
<content type='text'>
Previously `-Zprint-mono-items` would override the mono item collection
strategy. When debugging one doesn't want to change the behaviour, so
this was counter productive. Additionally, the produced behaviour was
artificial and might never arise without using the option in the first
place (`-Zprint-mono-items=eager` without `-Clink-dead-code`).  Finally,
the option was incorrectly marked as `UNTRACKED`.

Resolve those issues, by turning `-Zprint-mono-items` into a boolean
flag that prints results of mono item collection without changing the
behaviour of mono item collection.

For codegen-units test incorporate `-Zprint-mono-items` flag directly
into compiletest tool.

Test changes are mechanical. `-Zprint-mono-items=lazy` was removed
without additional changes, and `-Zprint-mono-items=eager` was turned
into `-Clink-dead-code`.  Linking dead code disables internalization, so
tests have been updated accordingly.
</content>
</entry>
<entry>
<title>Remove -Zinline-in-all-cgus and clean up CGU partitioning tests</title>
<updated>2025-01-28T04:48:47+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-12-05T17:51:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf9df97660f2360bff4acf5231c5396eeaf1d3db'/>
<id>urn:sha1:bf9df97660f2360bff4acf5231c5396eeaf1d3db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove support for the #[start] attribute</title>
<updated>2025-01-21T13:59:15+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-12-14T08:13:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56c90dc31e86bbaf486826a21a33d7c56e8f742f'/>
<id>urn:sha1:56c90dc31e86bbaf486826a21a33d7c56e8f742f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make sure we actually use the right trivial lifetime substs when eagerly monomorphizing drop for structs</title>
<updated>2025-01-15T04:20:25+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-01-15T04:15:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c89ee081dd33eead1b4d0c3d287f96f3a664553b'/>
<id>urn:sha1:c89ee081dd33eead1b4d0c3d287f96f3a664553b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #135496 - matthiaskrgr:rollup-ps0cjzn, r=matthiaskrgr</title>
<updated>2025-01-14T20:52:08+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-01-14T20:52:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8361aef0d7c29b1501a316a208ed84cd8a2ae5da'/>
<id>urn:sha1:8361aef0d7c29b1501a316a208ed84cd8a2ae5da</id>
<content type='text'>
Rollup of 7 pull requests

Successful merges:

 - #134216 (Enable "jump to def" feature on patterns)
 - #134880 (Made `Path::name` only have item name rather than full name)
 - #135466 (Leak check in `impossible_predicates` to avoid monomorphizing impossible instances)
 - #135476 (Remove remnant of asmjs)
 - #135479 (mir borrowck: cleanup late-bound region handling)
 - #135493 (Fix legacy symbol mangling of closures)
 - #135495 (Add missing closing backtick in commit hook message 🐸)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Auto merge of #135313 - compiler-errors:needs-mono, r=BoxyUwU</title>
<updated>2025-01-14T17:55:26+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-01-14T17:55:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3736b85779d1db4c215b910004d7efcd7aff8408'/>
<id>urn:sha1:3736b85779d1db4c215b910004d7efcd7aff8408</id>
<content type='text'>
Eagerly mono drop for structs with lifetimes

That is, use `!generics.requires_monomorphization()` rather than `generics.is_empty()` like the rest of the mono collector code.
</content>
</entry>
<entry>
<title>Fix legacy symbol mangling of closures</title>
<updated>2025-01-14T16:33:03+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-01-14T16:32:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=faafa5c3107344adc5e57dd6d6dc74e019bd7daf'/>
<id>urn:sha1:faafa5c3107344adc5e57dd6d6dc74e019bd7daf</id>
<content type='text'>
</content>
</entry>
</feed>
