no lock_mut on thumbv6m

This commit is contained in:
Jorge Aparicio 2017-04-12 16:14:29 -05:00
parent cc6c1ad3f3
commit 2d334e76dd

View file

@ -142,6 +142,7 @@ where
/// This method has additional an additional constraint: you can't borrow a /// This method has additional an additional constraint: you can't borrow a
/// resource that has ceiling equal `CEILING`. This constraint is required /// resource that has ceiling equal `CEILING`. This constraint is required
/// to preserve Rust aliasing rules. /// to preserve Rust aliasing rules.
#[cfg(not(thumbv6m))]
pub fn lock_mut<R, PRIORITY, F>( pub fn lock_mut<R, PRIORITY, F>(
&'static self, &'static self,
_priority: &mut P<PRIORITY>, _priority: &mut P<PRIORITY>,