No longer put cloudabi mutexes in a box.

Cloudabi mutexes may be moved safely.
This commit is contained in:
Mara Bos 2020-10-01 01:07:56 +02:00
parent 58deb7001d
commit def5188ca8
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ extern "C" {
// implemented identically.
pub struct Mutex(RWLock);
pub type MovableMutex = Box<Mutex>;
pub type MovableMutex = Mutex;
pub unsafe fn raw(m: &Mutex) -> *mut AtomicU32 {
rwlock::raw(&m.0)