mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-08-28 04:10:09 -04:00
77b02eed7b
When an incremental fingerprint mismatch occurs, we debug-print our `DepNode` and query result. Unfortunately, the debug printing process may cause us to run additional queries, which can result in a re-entrant fingerprint mismatch error. To avoid a double panic, this commit adds a thread-local variable to detect re-entrant calls.