diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-06-10 11:02:10 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-10 11:02:10 +0900 |
| commit | 578eb6d65fbfaa30f6d0acd27ed2d506aa4d6117 (patch) | |
| tree | 7cc81f1b97b7c4bf8e96bdce889704a6069a2730 /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | 27e84b89dae055fef9fd9e705be65c244b54e4c7 (diff) | |
| parent | ac470e95852336172197810a9a4f6d2e8c8b6574 (diff) | |
| download | rust-578eb6d65fbfaa30f6d0acd27ed2d506aa4d6117.tar.gz rust-578eb6d65fbfaa30f6d0acd27ed2d506aa4d6117.zip | |
Rollup merge of #84687 - a1phyr:improve_rwlock, r=m-ou-se
Multiple improvements to RwLocks This PR replicates #77147, #77380 and #84650 on RWLocks : - Split `sys_common::RWLock` in `StaticRWLock` and `MovableRWLock` - Unbox rwlocks on some platforms (Windows, Wasm and unsupported) - Simplify `RwLock::into_inner` Notes to reviewers : - For each target, I copied `MovableMutex` to guess if `MovableRWLock` should be boxed. - ~A comment says that `StaticMutex` is not re-entrant, I don't understand why and I don't know whether it applies to `StaticRWLock`.~ r? `@m-ou-se`
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
