From 18c20381b094d7d8273d1a961052c22493c6b21c Mon Sep 17 00:00:00 2001 From: Thibaut Ackermann Date: Wed, 30 Oct 2019 21:55:27 +0100 Subject: Implement sched::sched_getaffinity() sched_getaffinity(2) get a process's CPU affinity mask --- test/test.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/test.rs') diff --git a/test/test.rs b/test/test.rs index 24260500..4b13fa44 100644 --- a/test/test.rs +++ b/test/test.rs @@ -118,6 +118,9 @@ mod test_net; mod test_nix_path; mod test_poll; mod test_pty; +#[cfg(any(target_os = "android", + target_os = "linux"))] +mod test_sched; #[cfg(any(target_os = "android", target_os = "freebsd", target_os = "ios", -- cgit v1.2.3