<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/codegen-units/partitioning, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-06-22T21:52:49+00:00</updated>
<entry>
<title>Stop collecting unmentioned constants</title>
<updated>2025-06-22T21:52:49+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2025-06-22T21:51:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=928564c7bfb395e1e5bd34d8913b7627ee4d1130'/>
<id>urn:sha1:928564c7bfb395e1e5bd34d8913b7627ee4d1130</id>
<content type='text'>
This avoids generating useless dead LLVM IR.
</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>Share inline(never) generics across crates</title>
<updated>2024-11-28T18:43:05+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2024-11-23T18:19:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4a216a25d143e88eefac2655c1fce042571e1f6e'/>
<id>urn:sha1:4a216a25d143e88eefac2655c1fce042571e1f6e</id>
<content type='text'>
This reduces code sizes and better respects programmer intent when
marking inline(never). Previously such a marking was essentially ignored
for generic functions, as we'd still inline them in remote crates.
</content>
</entry>
<entry>
<title>Fix and enable disabled codegen-units tests</title>
<updated>2024-08-10T18:03:27+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-08-10T16:19:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=03b6c2f2d4ac99d123e02786a69ba380498d80d8'/>
<id>urn:sha1:03b6c2f2d4ac99d123e02786a69ba380498d80d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run rustfmt on `tests/codegen-units/`.</title>
<updated>2024-05-31T05:56:45+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-05-29T04:25:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=780a91786ec73a0ec1d2847e860f2d71dd7704fe'/>
<id>urn:sha1:780a91786ec73a0ec1d2847e860f2d71dd7704fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Omit non-needs_drop drop_in_place in vtables</title>
<updated>2024-05-27T20:26:56+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2024-03-17T21:42:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4c002fce9d8421096538273c9b78db7d68529b94'/>
<id>urn:sha1:4c002fce9d8421096538273c9b78db7d68529b94</id>
<content type='text'>
This replaces the drop_in_place reference with null in vtables. On
librustc_driver.so, this drops about ~17k dynamic relocations from the
output, since many vtables can now be placed in read-only memory, rather
than having a relocated pointer included.

This makes a tradeoff by adding a null check at vtable call sites.
That's hard to avoid without changing the vtable format (e.g., to use a
pc-relative relocation instead of an absolute address, and avoid the
dynamic relocation that way). But it seems likely that the check is
cheap at runtime.
</content>
</entry>
<entry>
<title>Fix some minor issues from the ui-test auto-porting</title>
<updated>2024-05-11T23:58:35+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-05-11T23:29:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f11bd7e955e93b994d6e3f2c991be95a9614a51b'/>
<id>urn:sha1:f11bd7e955e93b994d6e3f2c991be95a9614a51b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives</title>
<updated>2024-02-22T16:04:04+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2024-02-22T12:10:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e48b96692d63a79a14563f27fe5185f122434f8'/>
<id>urn:sha1:6e48b96692d63a79a14563f27fe5185f122434f8</id>
<content type='text'>
</content>
</entry>
</feed>
