Skip to content

Commit

Permalink
Auto merge of #91742 - cjgillot:force-backtrace, r=estebank
Browse files Browse the repository at this point in the history
Print a backtrace when query forcing fails.

The aim of this PR is to help debugging incremental compilation bugs where query forcing panics.
For instance: rust-lang/rust#90682 rust-lang/rust#90697 rust-lang/rust#90715 rust-lang/rust#90739 rust-lang/rust#91401

These bugs happen when the dep-graph attempts to force a dep-node whose fingerprint does not correspond to an actual DefPathHash. PR rust-lang/rust#91741 attempts to hide this bug.

I still don't know how to reproduce these bugs, so I sadly could not test this debugging device.
  • Loading branch information
bors committed Feb 24, 2023
2 parents 75211de + 797ccd0 commit 0c96c3e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0c96c3e

Please sign in to comment.