From c33f74dabef9793f7847df2c15958d4243755f98 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 15 Sep 2018 15:24:31 +0000 Subject: [PATCH] firmware: derive Clone for Mutex. --- artiq/firmware/runtime/sched.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/firmware/runtime/sched.rs b/artiq/firmware/runtime/sched.rs index 4c027e895..770ac3f6c 100644 --- a/artiq/firmware/runtime/sched.rs +++ b/artiq/firmware/runtime/sched.rs @@ -265,6 +265,7 @@ impl<'a> Io<'a> { } } +#[derive(Clone)] pub struct Mutex(Urc>); impl Mutex {