rust/compiler/rustc_query_system/src
Matthias Krüger 43297ffc22
Rollup merge of #138581 - Zoxc:abort-handler-if-locked, r=SparrowLii
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.
2025-03-25 18:09:05 +01:00
..
dep_graph Allow duplicates for side effect nodes 2025-03-19 20:12:37 +01:00
ich Introduce new parsing infrastructure and types for parsed attributes 2025-02-24 14:26:06 +01:00
query Rollup merge of #138581 - Zoxc:abort-handler-if-locked, r=SparrowLii 2025-03-25 18:09:05 +01:00
cache.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
error.rs don't return an Option from try_find_dep_kind 2025-01-07 21:57:00 +01:00
lib.rs Use hashbrown from crates.io 2025-03-21 07:54:35 +01:00
values.rs Value recovery can take the whole CycleError 2024-01-08 20:30:10 +00:00