<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_query_system/src/query, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-05T08:55:35+00:00</updated>
<entry>
<title>use `is_multiple_of` instead of manual modulo</title>
<updated>2025-07-05T08:55:35+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2025-07-05T06:26:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=226b0fbe11812c71c8002b10a40063571cf52b3f'/>
<id>urn:sha1:226b0fbe11812c71c8002b10a40063571cf52b3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `rustc_thread_pool` instead of `rustc-rayon-core`</title>
<updated>2025-06-11T19:26:42+00:00</updated>
<author>
<name>Celina G. Val</name>
<email>celinval@amazon.com</email>
</author>
<published>2025-06-11T18:45:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4aa62ea9e9015621969a0f505abf7a6894e99e9e'/>
<id>urn:sha1:4aa62ea9e9015621969a0f505abf7a6894e99e9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Handle `rustc_query_system` cases of `rustc::potential_query_instability` lint</title>
<updated>2025-05-14T05:59:55+00:00</updated>
<author>
<name>ismailarilik</name>
<email>arilik.ismail@gmail.com</email>
</author>
<published>2025-05-05T16:06:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=85efae7302e9249bb29a6098f342ab176d0d63aa'/>
<id>urn:sha1:85efae7302e9249bb29a6098f342ab176d0d63aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some comments</title>
<updated>2025-04-29T10:04:33+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2025-04-29T10:04:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=08b27ffbe89c26d0307b524c4f920bcc704ba23d'/>
<id>urn:sha1:08b27ffbe89c26d0307b524c4f920bcc704ba23d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a jobserver proxy to ensure at least one token is always held</title>
<updated>2025-04-29T05:20:13+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2025-04-22T05:02:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cff9efde748b6027fe9f135ddd5aaf8a3276601d'/>
<id>urn:sha1:cff9efde748b6027fe9f135ddd5aaf8a3276601d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a function to create `QueryStackDeferred` to ensure context is Copy</title>
<updated>2025-03-26T12:09:36+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2025-03-26T12:04:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ca2af6434ec40ae91207628722fe6e731f6f358'/>
<id>urn:sha1:6ca2af6434ec40ae91207628722fe6e731f6f358</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoiding calling queries when collecting active queries</title>
<updated>2025-03-26T08:36:36+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2025-03-18T16:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6319bb38ccb316b193e35720c9df953e5ab01c22'/>
<id>urn:sha1:6319bb38ccb316b193e35720c9df953e5ab01c22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #138874 - Zoxc:waiter-race, r=SparrowLii,davidtwco</title>
<updated>2025-03-26T00:34:46+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-03-26T00:34:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8b61871eda5f30057e44e0cee359951f22e97cbd'/>
<id>urn:sha1:8b61871eda5f30057e44e0cee359951f22e97cbd</id>
<content type='text'>
Batch mark waiters as unblocked when resuming in the deadlock handler

This fixes a race when resuming multiple threads to resolve query cycles. This now marks all threads as unblocked before resuming  any of them. Previously if one was resumed and marked as unblocked at a time. The first thread resumed could fall asleep then Rayon would detect a second false deadlock. Later the initial deadlock handler thread would resume further threads.

This also reverts the workaround added in https://github.com/rust-lang/rust/pull/137731.

cc `@SparrowLii` `@lqd`
</content>
</entry>
<entry>
<title>Rollup merge of #138581 - Zoxc:abort-handler-if-locked, r=SparrowLii</title>
<updated>2025-03-25T17:09:05+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-03-25T17:09:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43297ffc22ae4c053dc9904cd8a2cb0fde1198a9'/>
<id>urn:sha1:43297ffc22ae4c053dc9904cd8a2cb0fde1198a9</id>
<content type='text'>
Abort in deadlock handler if we fail to get a query map

Resolving query cycles requires the complete active query map, or it may miss query cycles. We did not check that the map is completely constructed before. If there is some error collecting the map, something has gone wrong already. This adds a check to abort/panic if we fail to construct the complete map.

This can help differentiate errors from the `deadlock detected` case if constructing query map has errors in practice.

An `Option` is not used for `collect_active_jobs` as the panic handler can still make use of a partial map.
</content>
</entry>
<entry>
<title>Remove `QueryWaiter::notify`</title>
<updated>2025-03-24T02:53:19+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2025-03-24T02:53:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38c39ffc6c6e19867f450c7204f341aeb0c495ec'/>
<id>urn:sha1:38c39ffc6c6e19867f450c7204f341aeb0c495ec</id>
<content type='text'>
</content>
</entry>
</feed>
