Move setup_callbacks call to create_compiler_and_run
This ensures that it is called even when run_in_thread_pool_with_globals is avoided and reduces code duplication between the parallel and non-parallel version of run_in_thread_pool_with_globals
This commit is contained in:
parent
bb45f5db78
commit
5730173763
4 changed files with 7 additions and 8 deletions
|
@ -15,6 +15,7 @@ mod proc_macro_decls;
|
|||
mod queries;
|
||||
pub mod util;
|
||||
|
||||
pub use callbacks::setup_callbacks;
|
||||
pub use interface::{run_compiler, Config};
|
||||
pub use passes::{DEFAULT_EXTERN_QUERY_PROVIDERS, DEFAULT_QUERY_PROVIDERS};
|
||||
pub use queries::Queries;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue