about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-04-10 23:28:37 +0000
committerbors <bors@rust-lang.org>2025-04-10 23:28:37 +0000
commite62d47daceeec445edede74c87d0d0a3acb1a175 (patch)
tree7af4ecb2fee427671cc26fb582f6899452139bb8 /compiler/rustc_data_structures/src
parent0fe8f3454dbe9dda52a254991347e96bec579a6f (diff)
parent1c568bbe6fa17dd3e6fd659aa311145ab4f573d5 (diff)
downloadrust-e62d47daceeec445edede74c87d0d0a3acb1a175.tar.gz
rust-e62d47daceeec445edede74c87d0d0a3acb1a175.zip
Auto merge of #139410 - Zoxc:fix-dep-graph-no-prev-map, r=oli-obk
Reuse the index from promoted nodes when coloring executed tasks

https://github.com/rust-lang/rust/pull/138824 did not correctly handle the case where a dep node was promoted green, but later or concurrently executed. It resulted in multiple dep nodes being allocated to it. This fixes that by checking that the node was not previously green in the encoder lock.

This also fixes a race when forcing diagnostic nodes introduced in https://github.com/rust-lang/rust/pull/138824.

https://github.com/rust-lang/rust/pull/138824 should get reverted on beta.

This should fix #139110.

r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_data_structures/src')
0 files changed, 0 insertions, 0 deletions