]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #10969 - joshtriplett:available-parallelism, r=epage
authorbors <bors@rust-lang.org>
Wed, 10 Aug 2022 17:52:21 +0000 (17:52 +0000)
committerbors <bors@rust-lang.org>
Wed, 10 Aug 2022 17:52:21 +0000 (17:52 +0000)
Switch back to `available_parallelism`

This reverts commit 8345cf5037506b38457483429fb113322c58f668 now that https://github.com/rust-lang/rust/pull/97925 is merged.

Since that
time, there are now multiple calls to get the number of CPUs, to handle
the `-j -NUM` case, so factor out a helper function.


Trivial merge