From 08b27ffbe89c26d0307b524c4f920bcc704ba23d Mon Sep 17 00:00:00 2001 From: John Kåre Alsaker Date: Tue, 29 Apr 2025 12:04:33 +0200 Subject: Add some comments --- compiler/rustc_interface/src/interface.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/rustc_interface/src') diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs index 0178c1470fa..cf494f8d686 100644 --- a/compiler/rustc_interface/src/interface.rs +++ b/compiler/rustc_interface/src/interface.rs @@ -40,7 +40,11 @@ pub struct Compiler { pub sess: Session, pub codegen_backend: Box, pub(crate) override_queries: Option, + + /// A reference to the current `GlobalCtxt` which we pass on to `GlobalCtxt`. pub(crate) current_gcx: CurrentGcx, + + /// A jobserver reference which we pass on to `GlobalCtxt`. pub(crate) jobserver_proxy: Arc, } -- cgit 1.4.1-3-g733a5