Skip to content

Commit f6368e5

Browse files
committed
fix musl?
1 parent 8ee1509 commit f6368e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sched.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,11 @@ mod sched_affinity {
316316
}
317317
}
318318

319-
#[cfg(linux_android)]
319+
// musl has additional sched_param fields that we don't support yet
320+
#[cfg(all(linux_android, not(target_env = "musl")))]
320321
pub use self::sched_priority::*;
321322

323+
#[cfg(all(linux_android, not(target_env = "musl")))]
322324
#[cfg(linux_android)]
323325
mod sched_priority {
324326
use std::mem::MaybeUninit;

0 commit comments

Comments
 (0)