Add some comments

This commit is contained in:
John Kåre Alsaker
2025-04-29 12:04:33 +02:00
parent cff9efde74
commit 08b27ffbe8
3 changed files with 7 additions and 0 deletions

View File

@@ -40,7 +40,11 @@ pub struct Compiler {
pub sess: Session,
pub codegen_backend: Box<dyn CodegenBackend>,
pub(crate) override_queries: Option<fn(&Session, &mut Providers)>,
/// 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<Proxy>,
}