File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -556,6 +556,7 @@ pub mod module {
556
556
target_os = "freebsd" ,
557
557
target_os = "android"
558
558
) ) ]
559
+ #[ cfg( not( target_env = "musl" ) ) ]
559
560
fn try_to_libc ( & self , vm : & VirtualMachine ) -> PyResult < libc:: sched_param > {
560
561
use crate :: AsObject ;
561
562
let priority_class = self . sched_priority . class ( ) ;
@@ -625,6 +626,7 @@ pub mod module {
625
626
target_os = "freebsd" ,
626
627
target_os = "android"
627
628
) ) ]
629
+ #[ cfg( not( target_env = "musl" ) ) ]
628
630
#[ pyfunction]
629
631
fn sched_setscheduler ( args : SchedSetschedulerArgs , vm : & VirtualMachine ) -> PyResult < i32 > {
630
632
let libc_sched_param = args. sched_param_obj . try_to_libc ( vm) ?;
@@ -675,6 +677,7 @@ pub mod module {
675
677
target_os = "freebsd" ,
676
678
target_os = "android"
677
679
) ) ]
680
+ #[ cfg( not( target_env = "musl" ) ) ]
678
681
#[ pyfunction]
679
682
fn sched_setparam ( args : SchedSetParamArgs , vm : & VirtualMachine ) -> PyResult < i32 > {
680
683
let libc_sched_param = args. sched_param_obj . try_to_libc ( vm) ?;
You can’t perform that action at this time.
0 commit comments