summaryrefslogtreecommitdiff
path: root/src/sched.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched.rs')
-rw-r--r--src/sched.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched.rs b/src/sched.rs
index c1746f2e..3c9d87e8 100644
--- a/src/sched.rs
+++ b/src/sched.rs
@@ -63,7 +63,7 @@ mod cpuset_attribs {
}
}
-#[cfg(all(target_arch = "arm", target_os = "android"))]
+#[cfg(all(target_arch = "arm", any(target_os = "linux", target_os = "android")))]
mod cpuset_attribs {
use super::CpuMask;
// bionic only supports up to 32 independent CPUs, instead of 1024.