<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_session/src/filesearch.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-17T10:59:53+00:00</updated>
<entry>
<title>apply clippy::or_fun_call</title>
<updated>2025-06-17T10:59:53+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2025-06-17T10:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c83935cdf87d4e3c0d9e7796fc810fb54ecbf39'/>
<id>urn:sha1:8c83935cdf87d4e3c0d9e7796fc810fb54ecbf39</id>
<content type='text'>
</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 canonicalization into current_dll_path</title>
<updated>2025-06-05T16:53:40+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-06-05T14:47:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=387dae9092414888e9291efd9317068458250a49'/>
<id>urn:sha1:387dae9092414888e9291efd9317068458250a49</id>
<content type='text'>
And consistently use try_canonicalize rather than canonicalize.
</content>
</entry>
<entry>
<title>Rollup merge of #141834 - Timmmm:user/timh/wasi, r=Noratrieb</title>
<updated>2025-06-01T17:35:45+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-06-01T17:35:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc32992a00b1a261dfe12eed2bbd9dc91cab41b5'/>
<id>urn:sha1:fc32992a00b1a261dfe12eed2bbd9dc91cab41b5</id>
<content type='text'>
Add unimplemented `current_dll_path()` for WASI

This is the only change needed to Rust to allow compiling rustfmt for WASI (rustfmt uses some internal rustc crates).
</content>
</entry>
<entry>
<title>Add unimplemented `current_dll_path()` for WASI</title>
<updated>2025-06-01T08:20:05+00:00</updated>
<author>
<name>Tim Hutt</name>
<email>tdhutt@gmail.com</email>
</author>
<published>2025-03-22T22:24:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bdd680ffd15e5e9672d0a82e363d8193e575a132'/>
<id>urn:sha1:bdd680ffd15e5e9672d0a82e363d8193e575a132</id>
<content type='text'>
This is the only change needed to Rust to allow compiling rustfmt for WASI (rustfmt uses some internal rustc crates).
</content>
</entry>
<entry>
<title>current_dll_path: fix mistake in assertion message</title>
<updated>2025-05-19T18:20:54+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-05-19T18:20:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c99c4b17b2a28f4056cbd460bfbf8cb27bc0be64'/>
<id>urn:sha1:c99c4b17b2a28f4056cbd460bfbf8cb27bc0be64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dladdr cannot leave dli_fname to be null</title>
<updated>2025-05-19T06:27:54+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-05-19T06:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d22f53b97033a5450c8aa32c9e1115c1d54bafb4'/>
<id>urn:sha1:d22f53b97033a5450c8aa32c9e1115c1d54bafb4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify current_dll_path for Cygwin</title>
<updated>2025-05-16T01:41:52+00:00</updated>
<author>
<name>Berrysoft</name>
<email>Strawberry_Str@hotmail.com</email>
</author>
<published>2025-05-16T01:41:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5e048e0786674db68220b7e0e8b19b2a96bcae7c'/>
<id>urn:sha1:5e048e0786674db68220b7e0e8b19b2a96bcae7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Experimental cygwin support in rustc</title>
<updated>2025-05-15T15:34:11+00:00</updated>
<author>
<name>王宇逸</name>
<email>Strawberry_Str@hotmail.com</email>
</author>
<published>2025-04-22T08:16:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49553be30784711d7dc6976ef1335b74df7cbe44'/>
<id>urn:sha1:49553be30784711d7dc6976ef1335b74df7cbe44</id>
<content type='text'>
Co-authored-by: Ookiineko &lt;chiisaineko@protonmail.com&gt;
</content>
</entry>
<entry>
<title>Cache current_dll_path output</title>
<updated>2025-03-21T12:46:24+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-03-21T12:30:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=521d0c4a30083dd447fcf397e8b1de278acb81af'/>
<id>urn:sha1:521d0c4a30083dd447fcf397e8b1de278acb81af</id>
<content type='text'>
Computing the current dll path is somewhat expensive relative to other
work when compiling `fn main() {}` as `dladdr` needs to iterate over the
symbol table of librustc_driver.so until it finds a match.
</content>
</entry>
</feed>
