<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_ssa/src/back, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-18T23:24:00+00:00</updated>
<entry>
<title>add -Zoffload=Enable flag behind -Zunstable-options, to enable gpu (host) code generation</title>
<updated>2025-07-18T23:24:00+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-06-18T22:29:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=634016478ec95c6ff933d32789e663ace78e8f82'/>
<id>urn:sha1:634016478ec95c6ff933d32789e663ace78e8f82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143846 - usamoi:gc, r=bjorn3</title>
<updated>2025-07-18T02:27:52+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-18T02:27:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=79c8f9046029115864d2e446f5f8cd1c3459898f'/>
<id>urn:sha1:79c8f9046029115864d2e446f5f8cd1c3459898f</id>
<content type='text'>
pass --gc-sections if -Zexport-executable-symbols is enabled and improve tests

Exported symbols are added as GC roots in linking, so `--gc-sections` won't hurt `-Zexport-executable-symbols`.

Fixes the run-make test to work on Linux. Enable the ui test on more targets.

cc rust-lang/rust#84161
</content>
</entry>
<entry>
<title>remove no_gc_sections</title>
<updated>2025-07-17T06:54:52+00:00</updated>
<author>
<name>usamoi</name>
<email>usamoi@outlook.com</email>
</author>
<published>2025-07-14T08:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5bb6b9db300870f436e8a45ffbe11efa41e44cad'/>
<id>urn:sha1:5bb6b9db300870f436e8a45ffbe11efa41e44cad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143388 - bjorn3:lto_refactors, r=compiler-errors</title>
<updated>2025-07-17T01:58:28+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-07-17T01:58:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=be5f8f299dce5c04e2a644546e780d8a07b0b14f'/>
<id>urn:sha1:be5f8f299dce5c04e2a644546e780d8a07b0b14f</id>
<content type='text'>
Various refactors to the LTO handling code

In particular reducing the sharing of code paths between fat and thin-LTO and making the fat LTO implementation more self-contained. This also moves some autodiff handling out of cg_ssa into cg_llvm given that Enzyme only works with LLVM anyway and an implementation for another backend may do things entirely differently. This will also make it a bit easier to split LTO handling out of the coordinator thread main loop into a separate loop, which should reduce the complexity of the coordinator thread.
</content>
</entry>
<entry>
<title>pass --gc-sections if -Zexport-executable-symbols is enabled and improve tests</title>
<updated>2025-07-13T08:27:47+00:00</updated>
<author>
<name>usamoi</name>
<email>usamoi@outlook.com</email>
</author>
<published>2025-07-12T16:12:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f58accb8f370a0a9e89548f2d890bd09ede3e613'/>
<id>urn:sha1:f58accb8f370a0a9e89548f2d890bd09ede3e613</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143446 - usamoi:export-executable-symbols, r=bjorn3,oli-obk</title>
<updated>2025-07-10T18:28:46+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-10T18:28:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b11e9e31dd0e18df499fe430526fb698dbfac145'/>
<id>urn:sha1:b11e9e31dd0e18df499fe430526fb698dbfac145</id>
<content type='text'>
use `--dynamic-list` for exporting executable symbols

closes rust-lang/rust#101610
cc rust-lang/rust#84161

https://sourceware.org/binutils/docs-2.39/ld/VERSION.html:

&gt; --dynamic-list=dynamic-list-file
Specify the name of a dynamic list file to the linker. This is typically used when creating shared libraries to specify a list of global symbols whose references shouldn’t be bound to the definition within the shared library, or creating dynamically linked executables to specify a list of symbols which should be added to the symbol table in the executable. This option is only meaningful on ELF platforms which support shared libraries.

`ld.lld --help`:

&gt;   --dynamic-list=&lt;file&gt;: Similar to --export-dynamic-symbol-list. When creating a shared object, this additionally implies -Bsymbolic but does not set DF_SYMBOLIC

&gt;  --export-dynamic-symbol-list=file: Read a list of dynamic symbol patterns. Apply --export-dynamic-symbol on each pattern

&gt;  --export-dynamic-symbol=glob: (executable) Put matched symbols in the dynamic symbol table. (shared object) References to matched non-local STV_DEFAULT symbols shouldn't be bound to definitions within the shared object. Does not imply -Bsymbolic.

&gt;  --export-dynamic: Put symbols in the dynamic symbol table

Use `--dynamic-list` because it's older than `--export-dynamic-symbol-list` (binutils 2.35)

try-job: dist-i586-gnu-i586-i686-musl
</content>
</entry>
<entry>
<title>use `--dynamic-list` for exporting executable symbols</title>
<updated>2025-07-09T14:40:11+00:00</updated>
<author>
<name>usamoi</name>
<email>usamoi@outlook.com</email>
</author>
<published>2025-07-04T18:07:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf6d29d55847614e677e6c5d6060d2dc0b1ad47b'/>
<id>urn:sha1:bf6d29d55847614e677e6c5d6060d2dc0b1ad47b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove `-znostart-stop-gc` workaround</title>
<updated>2025-07-08T10:24:11+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2025-06-06T12:17:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5059315e28fde405edffd7ad9eed3853cc412fad'/>
<id>urn:sha1:5059315e28fde405edffd7ad9eed3853cc412fad</id>
<content type='text'>
Now that `#[used(linker)]` is the default on ELF, we don't need to use the
`-znostart-stop-gc` link-arg workaround to match bfd's behavior when
using lld.
</content>
</entry>
<entry>
<title>stabilize `-Clinker-features=-lld` on x64 linux</title>
<updated>2025-07-08T09:04:21+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2025-07-08T09:01:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e6d82c9c96348a2f7dafd1a3337287408fc9751'/>
<id>urn:sha1:2e6d82c9c96348a2f7dafd1a3337287408fc9751</id>
<content type='text'>
This stabilizes a subset of the `-Clinker-features` components on x64 linux:
the lld opt-out.

The opt-in is not stabilized, as interactions with other stable flags require
more internal work, but are not needed for stabilizing using rust-lld by default.

Similarly, since we only switch to rust-lld on x64 linux, the opt-out is
only stabilized there. Other targets still require `-Zunstable-options`
to use it.
</content>
</entry>
<entry>
<title>compiler: Parse `p-` specs in datalayout string, allow definition of custom default data address space</title>
<updated>2025-07-07T07:04:53+00:00</updated>
<author>
<name>Edoardo Marangoni</name>
<email>edoardo.marangoni@scisemi.com</email>
</author>
<published>2025-06-29T10:11:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=93f1201c0616672d71e640a0ad600d029448c40a'/>
<id>urn:sha1:93f1201c0616672d71e640a0ad600d029448c40a</id>
<content type='text'>
</content>
</entry>
</feed>
