<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_error_messages, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-02T09:12:54+00:00</updated>
<entry>
<title>Revert introduction of `[workspace.dependencies]`.</title>
<updated>2025-09-02T09:12:54+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-09-02T09:09:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=301655eafe56a4b5064adebd412becf94b59221c'/>
<id>urn:sha1:301655eafe56a4b5064adebd412becf94b59221c</id>
<content type='text'>
This was done in #145740 and #145947. It is causing problems for people
using r-a on anything that uses the rustc-dev rustup package, e.g. Miri,
clippy.

This repository has lots of submodules and subtrees and various
different projects are carved out of pieces of it. It seems like
`[workspace.dependencies]` will just be more trouble than it's worth.
</content>
</entry>
<entry>
<title>Use default locale fallback data</title>
<updated>2025-08-28T09:48:54+00:00</updated>
<author>
<name>Robert Bastian</name>
<email>robertbastian@unicode.org</email>
</author>
<published>2025-08-28T09:48:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=359cbd205f4d8a1d4c3f03307fe2ca524c378340'/>
<id>urn:sha1:359cbd205f4d8a1d4c3f03307fe2ca524c378340</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump icu_list to 2.0</title>
<updated>2025-08-28T09:38:55+00:00</updated>
<author>
<name>Robert Bastian</name>
<email>robertbastian@unicode.org</email>
</author>
<published>2025-08-28T09:09:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d82a20e025701be09e87fbfa3a49bc4c2ae5662c'/>
<id>urn:sha1:d82a20e025701be09e87fbfa3a49bc4c2ae5662c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `tracing` to `[workspace.dependencies]`.</title>
<updated>2025-08-27T04:21:19+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-08-22T00:39:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c50d2cc8078280a0dfdd562c7688e81b664e5880'/>
<id>urn:sha1:c50d2cc8078280a0dfdd562c7688e81b664e5880</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move `IntoDiagArg` earlier in the dependency chains</title>
<updated>2025-08-20T22:01:13+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-08-14T07:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b65fab62999e96acd3683826ffd4140091f185f2'/>
<id>urn:sha1:b65fab62999e96acd3683826ffd4140091f185f2</id>
<content type='text'>
`rustc_errors` depends on numerous crates, solely to implement its
`IntoDiagArg` trait on types from those crates. Many crates depend on
`rustc_errors`, and it's on the critical path.

We can't swap things around to make all of those crates depend on
`rustc_errors` instead, because `rustc_errors` would end up in
dependency cycles.

Instead, move `IntoDiagArg` into `rustc_error_messages`, which has far
fewer dependencies, and then have most of these crates depend on
`rustc_error_messages`.

This allows `rustc_errors` to drop dependencies on several crates,
including the large `rustc_target`.

(This doesn't fully reduce dependency chains yet, as `rustc_errors`
still depends on `rustc_hir` which depends on `rustc_target`. That will
get fixed in a subsequent commit.)
</content>
</entry>
<entry>
<title>Remove unused feature gates</title>
<updated>2025-06-28T23:36:46+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotamofek@microsoft.com</email>
</author>
<published>2025-06-28T22:59:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8429c9911b68afe9c0cc5804cb15fc22f03d913c'/>
<id>urn:sha1:8429c9911b68afe9c0cc5804cb15fc22f03d913c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_session: Add a structure for keeping both explicit and default sysroots</title>
<updated>2025-06-24T13:00:04+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2025-06-20T15:52:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0be37cab97cf330d0470cf6e7db383d944a90975'/>
<id>urn:sha1:0be37cab97cf330d0470cf6e7db383d944a90975</id>
<content type='text'>
Also avoid creating and cloning sysroot unnecessarily.

</content>
</entry>
<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>Fix review comments</title>
<updated>2025-06-06T14:20:48+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-06-06T14:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e4c4c4c677f00a35aef0cfbe5e5ab3b30eafda4c'/>
<id>urn:sha1:e4c4c4c677f00a35aef0cfbe5e5ab3b30eafda4c</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>
</feed>
