<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-15T15:31:56+00:00</updated>
<entry>
<title>Make llvm_enzyme a regular cargo feature</title>
<updated>2025-09-15T15:31:56+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-09-15T15:31:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1991779bd4a0a8d8905b6644b06aa317dde353ac'/>
<id>urn:sha1:1991779bd4a0a8d8905b6644b06aa317dde353ac</id>
<content type='text'>
This makes it clearer that it is set by the build system rather than by
the rustc that compiles the current rustc. It also avoids bootstrap
needing to pass --check-cfg llvm_enzyme to rustc.
</content>
</entry>
<entry>
<title>compiler: Add Windows resources to rustc-main and rustc_driver</title>
<updated>2025-09-05T18:06:31+00:00</updated>
<author>
<name>Aleksey Kliger</name>
<email>alklig@microsoft.com</email>
</author>
<published>2025-08-18T20:42:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=095fa86a3ba30f4198c88ef300354391d3ab97e1'/>
<id>urn:sha1:095fa86a3ba30f4198c88ef300354391d3ab97e1</id>
<content type='text'>
Adds Windows resources with the rust version information to rustc-main.exe and rustc_driver.dll

Sets the product description to "Rust Compiler" or "Rust Compiler (channel)" for non-stable channels
</content>
</entry>
<entry>
<title>rename `stable_mir` to `rustc_public`, and `rustc_smir` to `rustc_public_bridge`</title>
<updated>2025-07-14T09:25:54+00:00</updated>
<author>
<name>Makai</name>
<email>m4kai410@gmail.com</email>
</author>
<published>2025-07-12T15:28:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6598c61725abb0e8179b8a5fab7a0ed1f7fcaf5f'/>
<id>urn:sha1:6598c61725abb0e8179b8a5fab7a0ed1f7fcaf5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid building C++ for rustc_llvm with --compile-time-deps</title>
<updated>2025-07-11T13:32:03+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-07-11T13:32:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87958ad68314daa784e93db4462afc0c079bd3a8'/>
<id>urn:sha1:87958ad68314daa784e93db4462afc0c079bd3a8</id>
<content type='text'>
This saves about 30s.
</content>
</entry>
<entry>
<title>Revert "Use workspace lints for crates in `compiler/` #138084"</title>
<updated>2025-03-10T10:12:47+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-03-10T10:12:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=063ef18fdc10cb0eb49e1af855e1a8e807e73eed'/>
<id>urn:sha1:063ef18fdc10cb0eb49e1af855e1a8e807e73eed</id>
<content type='text'>
Revert &lt;https://github.com/rust-lang/rust/pull/138084&gt; to buy time to
consider options that avoids breaking downstream usages of cargo on
distributed `rustc-src` artifacts, where such cargo invocations fail due
to inability to inherit `lints` from workspace root manifest's
`workspace.lints` (this is only valid for the source rust-lang/rust
workspace, but not really the distributed `rustc-src` artifacts).

This breakage was reported in
&lt;https://github.com/rust-lang/rust/issues/138304&gt;.

This reverts commit 48caf81484b50dca5a5cebb614899a3df81ca898, reversing
changes made to c6662879b27f5161e95f39395e3c9513a7b97028.
</content>
</entry>
<entry>
<title>Specify rust lints for `compiler/` crates via Cargo.</title>
<updated>2025-03-07T21:41:09+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-03-06T00:53:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=beba32cebb4fb2ef8f02c4fc898a9d31f1b03c61'/>
<id>urn:sha1:beba32cebb4fb2ef8f02c4fc898a9d31f1b03c61</id>
<content type='text'>
By naming them in `[workspace.lints.rust]` in the top-level
`Cargo.toml`, and then making all `compiler/` crates inherit them with
`[lints] workspace = true`. (I omitted `rustc_codegen_{cranelift,gcc}`,
because they're a bit different.)

The advantages of this over the current approach:
- It uses a standard Cargo feature, rather than special handling in
  bootstrap. So, easier to understand, and less likely to get
  accidentally broken in the future.
- It works for proc macro crates.

It's a shame it doesn't work for rustc-specific lints, as the comments
explain.
</content>
</entry>
<entry>
<title>Fix overcapturing, unsafe extern blocks, and new unsafe ops</title>
<updated>2025-02-22T00:01:48+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-02-20T18:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1819a889a2606b79dc9cc790205da1497d617b7'/>
<id>urn:sha1:e1819a889a2606b79dc9cc790205da1497d617b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Upgrade the compiler to edition 2024</title>
<updated>2025-02-22T00:01:48+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-02-20T18:37:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=76d341fa09c423e601e2c47f8e4d165fcb7c21aa'/>
<id>urn:sha1:76d341fa09c423e601e2c47f8e4d165fcb7c21aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>switch jemalloc-sys back to tikv-jemalloc-sys, and update to 0.6.0</title>
<updated>2024-12-03T08:56:33+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2024-12-02T16:16:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a69fe84ec841c20d229711d6861c5d889851e7f5'/>
<id>urn:sha1:a69fe84ec841c20d229711d6861c5d889851e7f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #132282 - Noratrieb:it-is-the-end-of-serial, r=cjgillot</title>
<updated>2024-11-12T15:14:56+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-11-12T15:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6503543d11583d1686d4989847b2afbec8d9fdba'/>
<id>urn:sha1:6503543d11583d1686d4989847b2afbec8d9fdba</id>
<content type='text'>
Delete the `cfg(not(parallel))` serial compiler

Since it's inception a long time ago, the parallel compiler and its cfgs have been a maintenance burden. This was a necessary evil the allow iteration while not degrading performance because of synchronization overhead.

But this time is over. Thanks to the amazing work by the parallel working group (and the dyn sync crimes), the parallel compiler has now been fast enough to be shipped by default in nightly for quite a while now.
Stable and beta have still been on the serial compiler, because they can't use `-Zthreads` anyways.
But this is quite suboptimal:
- the maintenance burden still sucks
- we're not testing the serial compiler in nightly

Because of these reasons, it's time to end it. The serial compiler has served us well in the years since it was split from the parallel one, but it's over now.

Let the knight slay one head of the two-headed dragon!

#113349

Note that the default is still 1 thread, as more than 1 thread is still fairly broken.

cc `@onur-ozkan` to see if i did the bootstrap field removal correctly, `@SparrowLii` on the sync parts
</content>
</entry>
</feed>
