-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Use std::thread::available_parallelism()
instead of num_cpus
#6211
Comments
std::thread::available_parallelism()
instead of num_cpus
Worth noting that |
@c410-f3r are you able to address @seanmonstar's points re: |
!!! This report is a best effort subject to possible errors !!! Targets found in the
Targets founds in the
In regards to implementation, they differ in some points. For example, That said, it seems that the current Rustc version supports everything but |
@seanmonstar You have thoughts? We would need to wait until our MSRV includes the method, but besides that? |
Closing due to inactivity. |
There's no need to close the issue. Even if we can't upgrade right now, we will be able to in the future when we bump the MSRV. |
Closing due to inactivity. If desirable, please create another issue to track this feature. |
I'm guessing you don't want long-term open issues under your account? I've opened a different issue #6432 to track it. We want to make sure that we do not forget to make this change when we bump our MSRV. |
Requires a to bump 1.64 but it will allow the decrease of the number of transient dependencies for downstream crates.
1.63 only makes use of cgroupv2 and such exclusive behavior led to issues like rust-lang/rust#97549. In 1.64, cgroupv1 is also supported (rust-lang/rust#97925, https://releases.rs/docs/1.64.0/).
cc #6210
The text was updated successfully, but these errors were encountered: