Skip to content

Commit eac42d0

Browse files
committed
filter to only linux_android, sigh
1 parent 1c4c20e commit eac42d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_sched.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn test_sched_affinity() {
3838
sched_setaffinity(Pid::from_raw(0), &initial_affinity).unwrap();
3939
}
4040

41-
#[cfg(not(any(target_env = "musl", target_env = "ohos")))]
41+
#[cfg(all(linux_android, not(target_env = "musl"), not(target_env = "ohos")))]
4242
#[test]
4343
fn test_sched_priority() {
4444
use nix::sched::{

0 commit comments

Comments
 (0)