mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-11 16:34:12 +00:00
Cleanup cfg check handling in expression store lowering
This commit is contained in:
parent
7d9b839f9c
commit
d11dbf648f
17 changed files with 234 additions and 188 deletions
|
|
@ -50,10 +50,9 @@ impl Pool {
|
|||
let extant_tasks = Arc::new(AtomicUsize::new(0));
|
||||
|
||||
let mut handles = Vec::with_capacity(threads);
|
||||
for _ in 0..threads {
|
||||
let handle = Builder::new(INITIAL_INTENT)
|
||||
for idx in 0..threads {
|
||||
let handle = Builder::new(INITIAL_INTENT, format!("Worker{idx}",))
|
||||
.stack_size(STACK_SIZE)
|
||||
.name("Worker".into())
|
||||
.allow_leak(true)
|
||||
.spawn({
|
||||
let extant_tasks = Arc::clone(&extant_tasks);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue