<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_session/src/session.rs, 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-19T18:02:04+00:00</updated>
<entry>
<title>Extract Translator struct</title>
<updated>2025-06-19T18:02:04+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2025-06-19T18:02:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=07b9bb1855596ac84a80d898b40c4b403f1dcc3f'/>
<id>urn:sha1:07b9bb1855596ac84a80d898b40c4b403f1dcc3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add infrastructure for emitting timing sections</title>
<updated>2025-06-16T09:51:17+00:00</updated>
<author>
<name>Jakub Beránek</name>
<email>berykubik@gmail.com</email>
</author>
<published>2025-06-06T15:12:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c9d305952e0a74a5d0428fed79b62487aefa41e4'/>
<id>urn:sha1:c9d305952e0a74a5d0428fed79b62487aefa41e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #141769 - bjorn3:codegen_metadata_module_rework, r=workingjubilee,saethlin</title>
<updated>2025-06-15T21:51:54+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-06-15T21:51:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0b249d3f857b86887bae595d32b4c40235a32bf0'/>
<id>urn:sha1:0b249d3f857b86887bae595d32b4c40235a32bf0</id>
<content type='text'>
Move metadata object generation for dylibs to the linker code

This deduplicates some code between codegen backends and may in the future allow adding extra metadata that is only known at link time.

Prerequisite of https://github.com/rust-lang/rust/issues/96708.
</content>
</entry>
<entry>
<title>Replace all uses of sysroot_candidates with get_or_default_sysroot</title>
<updated>2025-06-05T16:54:10+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-06-05T16:53:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dff8ee5b01b7251937860da41afd55958c13456a'/>
<id>urn:sha1:dff8ee5b01b7251937860da41afd55958c13456a</id>
<content type='text'>
Before this change we had two different ways to attempt to locate the
sysroot which are inconsistently used:
* get_or_default_sysroot which tries to locate based on the 0th cli
  argument and if that doesn't work falls back to locating it using the
  librustc_driver.so location and returns a single path.,
* sysroot_candidates which takes the former and additionally does
  another attempt at locating using librustc_driver.so except without
  linux multiarch handling and then returns both paths.,

The latter was originally introduced to be able to locate the codegen
backend back when cg_llvm was dynamically linked even for a custom
driver when the --sysroot passed in does not contain a copy of cg_llvm.
Back then get_or_default_sysroot did not attempt to locate the sysroot
based on the location of librustc_driver.so yet. Because that is now
done, the only case where removing sysroot_candidates can break things
is if you have a custom driver inside what looks like a sysroot
including the lib/rustlib directory, but which is missing some parts of
the full sysroot like eg rust-lld.
</content>
</entry>
<entry>
<title>Move metadata object generation for dylibs to the linker code</title>
<updated>2025-06-03T10:04:34+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-05-30T12:51:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0bd7aa1116c42a96d1c692065ae500a3d2d75484'/>
<id>urn:sha1:0bd7aa1116c42a96d1c692065ae500a3d2d75484</id>
<content type='text'>
This deduplicates some code between codegen backends and may in the
future allow adding extra metadata that is only known at link time.
</content>
</entry>
<entry>
<title>coverage: Revert "unused local file IDs" due to empty function names</title>
<updated>2025-05-27T13:33:29+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-05-27T13:25:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3f526eeec4efe8a31154b7b20b64d99c1badce9e'/>
<id>urn:sha1:3f526eeec4efe8a31154b7b20b64d99c1badce9e</id>
<content type='text'>
This reverts commit 3b22c21dd8c30f499051fe7a758ca0e5d81eb638, reversing
changes made to 5f292eea6d63abbd26f1e6e00a0b8cf21d828d7d.
</content>
</entry>
<entry>
<title>coverage: Detect unused local file IDs to avoid an LLVM assertion</title>
<updated>2025-05-09T14:24:03+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-05-09T10:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=078144fdfa7ae627d43cd919d660a71bef1e4658'/>
<id>urn:sha1:078144fdfa7ae627d43cd919d660a71bef1e4658</id>
<content type='text'>
This case can't actually happen yet (other than via a testing flag), because
currently all of a function's spans must belong to the same file and expansion.
But this will be an important edge case when adding expansion region support.
</content>
</entry>
<entry>
<title>Stabilize `-Zdwarf-version` as `-Cdwarf-version`</title>
<updated>2025-04-15T02:26:41+00:00</updated>
<author>
<name>Wesley Wiser</name>
<email>wwiser@gmail.com</email>
</author>
<published>2025-02-12T14:06:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e21691529549152625a509e7e69af0b813420c53'/>
<id>urn:sha1:e21691529549152625a509e7e69af0b813420c53</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prepend temp files with a string per invocation of rustc</title>
<updated>2025-04-07T20:48:40+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-04-06T23:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c372d8940a8dad14d586f6bd4dd42541f25cd80'/>
<id>urn:sha1:9c372d8940a8dad14d586f6bd4dd42541f25cd80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #138947 - madsmtm:refactor-apple-versions, r=Noratrieb</title>
<updated>2025-04-06T10:16:28+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-04-06T10:16:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f5c510260bef89f7799d0b8e1aa70d7d7925cd99'/>
<id>urn:sha1:f5c510260bef89f7799d0b8e1aa70d7d7925cd99</id>
<content type='text'>
Refactor Apple version handling in the compiler

Move various Apple version handling code in the compiler out `rustc_codegen_ssa` and into a place where it can be accessed by `rustc_attr_parsing`, which I found to be necessary when doing https://github.com/rust-lang/rust/pull/136867. Thought I'd split it out to make it easier to land, and to make further changes like https://github.com/rust-lang/rust/pull/131477 have fewer conflicts / PR dependencies.

There should be no functional changes in this PR.

`@rustbot` label O-apple
r? rust-lang/compiler
</content>
</entry>
</feed>
