diff options
Diffstat (limited to 'src/sched.rs')
-rw-r--r-- | src/sched.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sched.rs b/src/sched.rs index 9de1bd10..f8f3a68a 100644 --- a/src/sched.rs +++ b/src/sched.rs @@ -9,7 +9,7 @@ use ::unistd::Pid; // For some functions taking with a parameter of type CloneFlags, // only a subset of these flags have an effect. libc_bitflags!{ - pub struct CloneFlags: libc::c_int { + pub struct CloneFlags: c_int { CLONE_VM; CLONE_FS; CLONE_FILES; @@ -40,6 +40,7 @@ pub type CloneCb<'a> = Box<FnMut() -> isize + 'a>; #[repr(C)] #[derive(Clone, Copy)] +#[allow(missing_debug_implementations)] pub struct CpuSet { cpu_set: libc::cpu_set_t, } |