Rollup merge of #84777 - jyn514:rustdoc-parallel, r=Mark-Simulacrum
Apply `--cfg parallel_compiler` when documenting
This also reverts commit 9823c2cc70
working around the bug.
Fixes https://github.com/rust-lang/rust/issues/82301.
This commit is contained in:
commit
5fc898782c
3 changed files with 6 additions and 6 deletions
|
@ -232,6 +232,7 @@ macro_rules! define_callbacks {
|
|||
}
|
||||
|
||||
pub trait QueryEngine<'tcx>: rustc_data_structures::sync::Sync {
|
||||
#[cfg(parallel_compiler)]
|
||||
unsafe fn deadlock(&'tcx self, tcx: TyCtxt<'tcx>, registry: &rustc_rayon_core::Registry);
|
||||
|
||||
fn encode_query_results(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue