summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/process/sched.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/process/sched.rs')
-rw-r--r--vendor/rustix/src/process/sched.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rustix/src/process/sched.rs b/vendor/rustix/src/process/sched.rs
index 88e661670..239b7df82 100644
--- a/vendor/rustix/src/process/sched.rs
+++ b/vendor/rustix/src/process/sched.rs
@@ -55,7 +55,7 @@ impl CpuSet {
}
/// Count the number of CPUs set in the `CpuSet`.
- #[cfg(any(target_os = "android", target_os = "linux"))]
+ #[cfg(linux_kernel)]
#[inline]
pub fn count(&self) -> u32 {
backend::process::cpu_set::CPU_COUNT(&self.cpu_set)