diff options
| author | bors <bors@rust-lang.org> | 2022-09-20 22:00:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-20 22:00:08 +0000 |
| commit | 7743aa836ee16d04831a34ee1ff109bf9d411277 (patch) | |
| tree | 37b1a918c3034feb6186b8eae63822113da4ce53 /compiler/rustc_parse/src | |
| parent | 432abd86f231c908f6df3cdd779e83f35084be90 (diff) | |
| parent | be09a4a8b2eadddadc0f3c00e40917e254ba91ab (diff) | |
| download | rust-7743aa836ee16d04831a34ee1ff109bf9d411277.tar.gz rust-7743aa836ee16d04831a34ee1ff109bf9d411277.zip | |
Auto merge of #100581 - joboet:sync_rwlock_everywhere, r=thomcc
std: use `sync::RwLock` for internal statics Since `sync::RwLock` is now `const`-constructible, it can be used for internal statics, removing the need for `sys_common::StaticRwLock`. This adds some extra allocations on platforms which need to box their locks (currently SGX and some UNIX), but these will become unnecessary with the lock improvements tracked in #93740.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
