rust/library
Yuki Okushi 578eb6d65f
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`
2021-06-10 11:02:10 +09:00
..
alloc Rollup merge of #85715 - fee1-dead:document-string, r=JohnTitor 2021-06-09 12:03:59 +09:00
backtrace@221483ebaf Update backtrace to 0.3.57 2021-04-25 13:48:03 -07:00
core Auto merge of #86003 - pnkfelix:issue-84297-revert-81238, r=Mark-Simulacrum 2021-06-09 16:47:05 +00:00
panic_abort rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
panic_unwind rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
proc_macro Simplify proc_macro code using Bound::cloned(). 2021-06-08 16:31:50 +00:00
profiler_builtins Update cc 2021-05-24 23:34:12 +01:00
rtstartup Bump bootstrap compiler to 1.50 beta 2020-12-30 09:27:19 -05:00
rustc-std-workspace-alloc
rustc-std-workspace-core Fix rustc-std-workspace-core documentation 2020-12-20 15:23:21 +08:00
rustc-std-workspace-std
std Rollup merge of #84687 - a1phyr:improve_rwlock, r=m-ou-se 2021-06-10 11:02:10 +09:00
stdarch@37d6e18863 Update stdarch to fix x86 byte shift intrinsics 2021-05-20 01:51:05 +01:00
term rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
test Auto merge of #84863 - ABouttefeux:libtest, r=m-ou-se 2021-06-06 09:13:59 +00:00
unwind Support Android ndk versions r23-beta3 and up 2021-06-01 21:37:50 +02:00