<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_data_structures/src/sync, branch 1.75.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.75.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.75.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-11-09T00:39:02+00:00</updated>
<entry>
<title>Auto merge of #117557 - Zoxc:panic-prio, r=petrochenkov</title>
<updated>2023-11-09T00:39:02+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-11-09T00:39:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d8dbf7ca0ee9c6da0fd039b1eb8cf7c7cb840f43'/>
<id>urn:sha1:d8dbf7ca0ee9c6da0fd039b1eb8cf7c7cb840f43</id>
<content type='text'>
Make `FatalErrorMarker` lower priority than other panics

This makes `FatalErrorMarker` lower priority than other panics in a parallel sections. If any other panics occur, they will be unwound instead of `FatalErrorMarker`. This ensures `rustc` will exit with the correct error code on ICEs.

This fixes https://github.com/rust-lang/rust/issues/116659.
</content>
</entry>
<entry>
<title>Make `FatalErrorMarker` lower priority than other panics</title>
<updated>2023-11-03T18:46:00+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-11-03T09:56:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff1858e2aa4c7ff60ae72ec7d90973a7a14b94f9'/>
<id>urn:sha1:ff1858e2aa4c7ff60ae72ec7d90973a7a14b94f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `filter_map` in `try_par_for_each_in`</title>
<updated>2023-11-03T16:17:16+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2023-11-03T16:17:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3984914affa48bb6a65a68844a0ddff498c30512'/>
<id>urn:sha1:3984914affa48bb6a65a68844a0ddff498c30512</id>
<content type='text'>
This simplifies the expression, especially for the rayon part, and also
lets us drop the `E: Copy` constraint.
</content>
</entry>
<entry>
<title>Avoid a `track_errors` by bubbling up most errors from `check_well_formed`</title>
<updated>2023-10-20T08:46:27+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2023-10-18T08:47:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fd9ef69adf631a96ffad2d777653ae2554909866'/>
<id>urn:sha1:fd9ef69adf631a96ffad2d777653ae2554909866</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `cold_path` to `outline`</title>
<updated>2023-09-25T20:54:07+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-25T01:27:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c507cae363a71f16069bbf602aa50e00f3ceec4'/>
<id>urn:sha1:2c507cae363a71f16069bbf602aa50e00f3ceec4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #115548 - Zoxc:parallel-extract, r=wesleywiser</title>
<updated>2023-09-11T19:16:20+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-09-11T19:16:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f3cc59b741b576d4e791e6ae4c5b4811f9935801'/>
<id>urn:sha1:f3cc59b741b576d4e791e6ae4c5b4811f9935801</id>
<content type='text'>
Extract parallel operations in `rustc_data_structures::sync` into a new `parallel` submodule

This extracts parallel operations in `rustc_data_structures::sync` into a new `parallel` submodule. This cuts down on the size of the large `cfg_if!` in `sync` and makes it easier to compare between serial and parallel variants.
</content>
</entry>
<entry>
<title>Auto merge of #115388 - Zoxc:sharded-lock, r=SparrowLii</title>
<updated>2023-09-11T01:43:29+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-09-11T01:43:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b72cc9abf35f82e90cdc5fc54287e87aa2d3aeb'/>
<id>urn:sha1:9b72cc9abf35f82e90cdc5fc54287e87aa2d3aeb</id>
<content type='text'>
Add optimized lock methods for `Sharded` and refactor `Lock`

This adds methods to `Sharded` which pick a shard and also locks it. These branch on parallelism just once instead of twice, improving performance.

Benchmark for `cfg(parallel_compiler)` and 1 thread:
&lt;table&gt;&lt;tr&gt;&lt;td rowspan="2"&gt;Benchmark&lt;/td&gt;&lt;td colspan="1"&gt;&lt;b&gt;Before&lt;/b&gt;&lt;/th&gt;&lt;td colspan="2"&gt;&lt;b&gt;After&lt;/b&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;Time&lt;/td&gt;&lt;td align="right"&gt;Time&lt;/td&gt;&lt;td align="right"&gt;%&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;clap&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;1.6461s&lt;/td&gt;&lt;td align="right"&gt;1.6345s&lt;/td&gt;&lt;td align="right"&gt; -0.70%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;hyper&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;0.2414s&lt;/td&gt;&lt;td align="right"&gt;0.2394s&lt;/td&gt;&lt;td align="right"&gt; -0.83%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;regex&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;0.9205s&lt;/td&gt;&lt;td align="right"&gt;0.9143s&lt;/td&gt;&lt;td align="right"&gt; -0.67%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;syn&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;1.4981s&lt;/td&gt;&lt;td align="right"&gt;1.4869s&lt;/td&gt;&lt;td align="right"&gt; -0.75%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;syntex_syntax&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;5.7629s&lt;/td&gt;&lt;td align="right"&gt;5.7256s&lt;/td&gt;&lt;td align="right"&gt; -0.65%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Total&lt;/td&gt;&lt;td align="right"&gt;10.0690s&lt;/td&gt;&lt;td align="right"&gt;10.0008s&lt;/td&gt;&lt;td align="right"&gt; -0.68%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Summary&lt;/td&gt;&lt;td align="right"&gt;1.0000s&lt;/td&gt;&lt;td align="right"&gt;0.9928s&lt;/td&gt;&lt;td align="right"&gt; -0.72%&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

cc `@SparrowLii`
</content>
</entry>
<entry>
<title>Use `FreezeLock` for `CStore`</title>
<updated>2023-09-09T14:02:11+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-09T14:02:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1d8fdc03323959b69365123036637c056182b861'/>
<id>urn:sha1:1d8fdc03323959b69365123036637c056182b861</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Freeze::clone</title>
<updated>2023-09-08T12:14:57+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-08T12:14:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c83eba92518166b9e40f43b40683d74c919af0ed'/>
<id>urn:sha1:c83eba92518166b9e40f43b40683d74c919af0ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the `LockMode` enum and `dispatch`</title>
<updated>2023-09-08T08:15:12+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-08T07:27:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9690142bef648b88a4f8d87000f5edeacb0cc0a5'/>
<id>urn:sha1:9690142bef648b88a4f8d87000f5edeacb0cc0a5</id>
<content type='text'>
</content>
</entry>
</feed>
