about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/passes.rs
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-08-25 17:26:24 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2024-03-27 11:44:32 +0100
commit9936a399dfd85b7ed07f948d602f332e5258f2c0 (patch)
tree8ec833a66eae948b9964cd26f581c1e165ca33c8 /compiler/rustc_interface/src/passes.rs
parent0dcc1309d0e56f2121d46e20c19d332233533530 (diff)
downloadrust-9936a399dfd85b7ed07f948d602f332e5258f2c0.tar.gz
rust-9936a399dfd85b7ed07f948d602f332e5258f2c0.zip
Add a `CurrentGcx` type to let the deadlock handler access `TyCtxt`
Diffstat (limited to 'compiler/rustc_interface/src/passes.rs')
-rw-r--r--compiler/rustc_interface/src/passes.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 4b4c1d6cf67..d763a12f816 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -680,6 +680,7 @@ pub fn create_global_ctxt<'tcx>(
                     incremental,
                 ),
                 providers.hooks,
+                compiler.current_gcx.clone(),
             )
         })
     })