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

replace num_cpus crate with std::thread #42

Merged
merged 1 commit into from
May 5, 2023
Merged

Conversation

yoshuawuyts
Copy link
Member

Removes the dev dependency on num_cpus

@taiki-e
Copy link
Collaborator

taiki-e commented May 5, 2023

Thanks.

available_parallelism was stabilized with an incomplete implementation, and this is expected to cause regressions (including SIGKILL) in Rust 1.63 and smaller that don't have cgroupv1 support (rust-lang/rust#97925).

That said, this is used only in the benchmark, so it is not a problem if it is broken in an older rustc.

@taiki-e taiki-e merged commit 85c20eb into master May 5, 2023
@taiki-e taiki-e deleted the available-parallelism branch May 5, 2023 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants