summary refs log tree commit diff
path: root/compiler/rustc_driver_impl
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2025-03-19 02:19:33 +0000
committerAlex Macleod <alex@macleod.io>2025-04-10 13:39:23 +0000
commitf74032621621d32cf59739b00ecc8f7f9510fc28 (patch)
treedf46c38200f67c9d57296f745bc0c9570b7cba49 /compiler/rustc_driver_impl
parent87e60a7d285f8ea560189024f85f2b194d1f168f (diff)
downloadrust-f74032621621d32cf59739b00ecc8f7f9510fc28.tar.gz
rust-f74032621621d32cf59739b00ecc8f7f9510fc28.zip
Allow drivers to supply a list of extra symbols to intern
Diffstat (limited to 'compiler/rustc_driver_impl')
-rw-r--r--compiler/rustc_driver_impl/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs
index 8ede6e41336..3aa9a75d893 100644
--- a/compiler/rustc_driver_impl/src/lib.rs
+++ b/compiler/rustc_driver_impl/src/lib.rs
@@ -259,6 +259,7 @@ pub fn run_compiler(at_args: &[String], callbacks: &mut (dyn Callbacks + Send))
         hash_untracked_state: None,
         register_lints: None,
         override_queries: None,
+        extra_symbols: Vec::new(),
         make_codegen_backend: None,
         registry: diagnostics_registry(),
         using_internal_features: &USING_INTERNAL_FEATURES,