rust/compiler/rustc_query_system/src
bors 3ef8e64ce9 Auto merge of #139758 - Zoxc:thread-local-graph, r=oli-obk
Use thread local dep graph encoding

This adds thread local encoding of dep graph nodes. Each thread has a `MemEncoder` that gets flushed to the global `FileEncoder` when it exceeds 64 kB. Each thread also has a local cache of dep indices. This means there can now be empty gaps in `SerializedDepGraph`.

Indices are marked green and also allocated by the new atomic operation `DepNodeColorMap::try_mark_green` as the encoder lock is removed.
2025-05-07 12:39:54 +00:00
..
dep_graph Auto merge of #139758 - Zoxc:thread-local-graph, r=oli-obk 2025-05-07 12:39:54 +00:00
ich expand: Leave traces when expanding cfg attributes 2025-03-26 15:30:12 +03:00
query Add some comments 2025-04-29 12:04:33 +02: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 Make #![feature(let_chains)] bootstrap conditional in compiler/ 2025-04-23 16:40:30 +02:00
values.rs Value recovery can take the whole CycleError 2024-01-08 20:30:10 +00:00