mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-07 07:27:40 +00:00

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.
18 lines
351 B
Rust
18 lines
351 B
Rust
#![feature(bool_to_option)]
|
|
#![feature(core_intrinsics)]
|
|
#![feature(hash_raw_entry)]
|
|
#![feature(iter_zip)]
|
|
#![feature(min_specialization)]
|
|
#![feature(thread_local_const_init)]
|
|
|
|
#[macro_use]
|
|
extern crate tracing;
|
|
#[macro_use]
|
|
extern crate rustc_data_structures;
|
|
#[macro_use]
|
|
extern crate rustc_macros;
|
|
|
|
pub mod cache;
|
|
pub mod dep_graph;
|
|
pub mod query;
|