Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on num_cpus #268

Merged
merged 1 commit into from Apr 24, 2023
Merged

Remove dependency on num_cpus #268

merged 1 commit into from Apr 24, 2023

Conversation

meesfrensel
Copy link
Contributor

Replace the one call to num_cpus::get() with thread::available_parallelism() which has been stable since Rust 1.59 and has nearly identical functionality.

This allows for removing the dependency on num_cpus entirely.

@bradfier bradfier merged commit c3bb228 into tomaka:master Apr 24, 2023
10 checks passed
@meesfrensel meesfrensel deleted the remove-num_cpus branch April 24, 2023 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants