Auto merge of #17374 - Veykril:configs, r=Veykril

Allow choosing logical cores for num threads config
This commit is contained in:
bors 2024-06-11 08:49:19 +00:00
commit ba1c56c83a
7 changed files with 145 additions and 111 deletions

View file

@ -29,7 +29,7 @@ pub struct ParallelPrimeCachesProgress {
pub fn parallel_prime_caches(
db: &RootDatabase,
num_worker_threads: u8,
num_worker_threads: usize,
cb: &(dyn Fn(ParallelPrimeCachesProgress) + Sync),
) {
let _p = tracing::info_span!("parallel_prime_caches").entered();