From 7c27a173ba2b22e059e8a2a92f070a3853218e09 Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Wed, 10 Dec 2014 19:30:36 +0100 Subject: Fallout of Copy becoming opt-in. --- src/sched.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sched.rs') diff --git a/src/sched.rs b/src/sched.rs index 43c5c187..969ab41b 100644 --- a/src/sched.rs +++ b/src/sched.rs @@ -69,6 +69,7 @@ pub type CpuMask = c_ulong; // Structure representing the CPU set to apply #[repr(C)] +#[deriving(Copy)] pub struct CpuSet { cpu_mask: [CpuMask, ..cpuset_attribs::CPU_SETSIZE/cpuset_attribs::CPU_MASK_BITS] } -- cgit v1.2.3