mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 20:17:55 +00:00
Don't put hermit condvars in a box.
Hermit condvars are movable.
This commit is contained in:
parent
fe56e8961f
commit
f45ebe459f
@ -14,7 +14,7 @@ pub struct Condvar {
|
||||
sem2: *const c_void,
|
||||
}
|
||||
|
||||
pub type MovableCondvar = Box<Condvar>;
|
||||
pub type MovableCondvar = Condvar;
|
||||
|
||||
unsafe impl Send for Condvar {}
|
||||
unsafe impl Sync for Condvar {}
|
||||
|
Loading…
Reference in New Issue
Block a user