This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/rustc_interface/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ pub struct Config {
275275 pub registry : Registry ,
276276}
277277
278- pub fn create_compiler_and_run < R > ( config : Config , f : impl FnOnce ( & Compiler ) -> R ) -> R {
278+ fn create_compiler_and_run < R > ( config : Config , f : impl FnOnce ( & Compiler ) -> R ) -> R {
279279 crate :: callbacks:: setup_callbacks ( ) ;
280280
281281 let registry = & config. registry ;
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ fn get_stack_size() -> Option<usize> {
131131}
132132
133133#[ cfg( not( parallel_compiler) ) ]
134- pub fn run_in_thread_pool_with_globals < F : FnOnce ( ) -> R + Send , R : Send > (
134+ pub ( crate ) fn run_in_thread_pool_with_globals < F : FnOnce ( ) -> R + Send , R : Send > (
135135 edition : Edition ,
136136 _threads : usize ,
137137 f : F ,
@@ -169,7 +169,7 @@ unsafe fn handle_deadlock() {
169169}
170170
171171#[ cfg( parallel_compiler) ]
172- pub fn run_in_thread_pool_with_globals < F : FnOnce ( ) -> R + Send , R : Send > (
172+ pub ( crate ) fn run_in_thread_pool_with_globals < F : FnOnce ( ) -> R + Send , R : Send > (
173173 edition : Edition ,
174174 threads : usize ,
175175 f : F ,
You can’t perform that action at this time.
0 commit comments