Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
937: Use std:: thread:: available_parallelism() instead of num_cpus dependency r=cuviper a=andrewdavidmackenzie From rust 1.59 we have a call for available_parallelism() in the std library and we can remove the dependency on num_cpu. Open questions for maintainers: - what is the minimum version of rust that you want to support - what is the best default value when the call to get parallelism fails? I chose "1". Co-authored-by: Andrew Mackenzie <[email protected]> Co-authored-by: Josh Stone <[email protected]>
- Loading branch information