From 2d334e76dde27f92f34d2269442b2b41e8d2fed1 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 12 Apr 2017 16:14:29 -0500 Subject: [PATCH] no lock_mut on thumbv6m --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 105501a86b..2bffa1aeb2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -142,6 +142,7 @@ where /// This method has additional an additional constraint: you can't borrow a /// resource that has ceiling equal `CEILING`. This constraint is required /// to preserve Rust aliasing rules. + #[cfg(not(thumbv6m))] pub fn lock_mut( &'static self, _priority: &mut P,