diff options
| author | Jethro Beekman <jethro@fortanix.com> | 2021-07-27 12:10:24 +0200 |
|---|---|---|
| committer | Jethro Beekman <jethro@fortanix.com> | 2021-07-27 12:10:24 +0200 |
| commit | eb6f2d4be0ecb2f1091e1b6c9fda8f42e10a2328 (patch) | |
| tree | 915b76cd073b9b3aca653ef8c97734c14ab76c24 /library/std/src | |
| parent | 998cfe5aad7c21eb19a4bca50f05a13354706970 (diff) | |
| download | rust-eb6f2d4be0ecb2f1091e1b6c9fda8f42e10a2328.tar.gz rust-eb6f2d4be0ecb2f1091e1b6c9fda8f42e10a2328.zip | |
Revert "SGX mutex is movable"
This reverts commit 30b82e0f96579d9f897c4e2a780af82662d89772.
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/sgx/mutex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/sgx/mutex.rs b/library/std/src/sys/sgx/mutex.rs index 1b5ced4178f..8874517dac6 100644 --- a/library/std/src/sys/sgx/mutex.rs +++ b/library/std/src/sys/sgx/mutex.rs @@ -8,7 +8,7 @@ pub struct Mutex { inner: SpinMutex<WaitVariable<bool>>, } -pub type MovableMutex = Mutex; +pub type MovableMutex = Box<Mutex>; // Implementation according to “Operating Systems: Three Easy Pieces”, chapter 28 impl Mutex { |
