1
Fork 0

get rid of tcx in deadlock handler when parallel compilation

This commit is contained in:
SparrowLii 2022-06-29 10:02:30 +08:00
parent 3b0d4813ab
commit fbca21edd2
4 changed files with 9 additions and 21 deletions

View file

@ -27,6 +27,8 @@ use rustc_span::Span;
mod plumbing;
pub use plumbing::QueryCtxt;
use rustc_query_system::query::*;
#[cfg(parallel_compiler)]
pub use rustc_query_system::query::{deadlock, QueryContext};
mod keys;
use keys::Key;