mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
7ade8cceb6
std: Fix thread::available_parallelism on Redox targets This brings support to `thread::available_parallelism` on Redox targets via `sysconf`. It has been available since `libc 0.2.177` and tested for months. References: - [libc implementation](https://github.com/rust-lang/libc/pull/4728) - [downstream patch](https://gitlab.redox-os.org/redox-os/rust/-/merge_requests/27)