mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Auto merge of #17374 - Veykril:configs, r=Veykril
Allow choosing logical cores for num threads config
This commit is contained in:
commit
ba1c56c83a
7 changed files with 145 additions and 111 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue