We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1fc603 commit 1f02e4dCopy full SHA for 1f02e4d
1 file changed
library/std/src/sys/thread/unix.rs
@@ -155,6 +155,7 @@ pub fn available_parallelism() -> io::Result<NonZero<usize>> {
155
target_os = "aix",
156
target_vendor = "apple",
157
target_os = "cygwin",
158
+ target_os = "redox",
159
target_os = "wasi",
160
) => {
161
#[allow(unused_assignments)]
@@ -316,7 +317,7 @@ pub fn available_parallelism() -> io::Result<NonZero<usize>> {
316
317
}
318
319
_ => {
- // FIXME: implement on Redox, l4re
320
+ // FIXME: implement on l4re
321
Err(io::const_error!(io::ErrorKind::Unsupported, "getting the number of hardware threads is not supported on the target platform"))
322
323
0 commit comments