about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-17 20:53:15 +0000
committerbors <bors@rust-lang.org>2025-01-17 20:53:15 +0000
commit6067b36314ab5eb2eb47cecc464545ba58e1ad24 (patch)
tree1387e6ee598ea04b94a2a602fe85153e03645387 /compiler/rustc_codegen_gcc/src
parentbcd0683e5dce1945b5d940714742e7502883bb5c (diff)
parentad7bb20344921c5f3dd42b29074a357562d5aa01 (diff)
downloadrust-6067b36314ab5eb2eb47cecc464545ba58e1ad24.tar.gz
rust-6067b36314ab5eb2eb47cecc464545ba58e1ad24.zip
Auto merge of #135329 - oli-obk:push-sytltwnzxlrq, r=Noratrieb
Stable Hash: Ignore all HirIds that just identify the node itself

This should provide better incremental caching, but it seems there is more to it.

These IDs also serve no purpose being in the stable hash of the item they refer to, only when referring to *another* item is it important that we hash the `HirId`. So we can at least avoid the cost during stable hashing, even if we don't benefit from it by avoiding some queries' caches from being invalidated

Unsure how to make sure we do this right by construction. Would be nice to do something type based
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions