File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
compiler/rustc_data_structures/src
src/doc/rustc-dev-guide/src Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,8 @@ pub use std::sync::{OnceLock, Weak};
112
112
113
113
pub use mode:: { is_dyn_thread_safe, set_dyn_thread_safe_mode} ;
114
114
pub use parking_lot:: {
115
- MappedMutexGuard as MappedLockGuard , MappedRwLockReadGuard as MappedReadGuard ,
116
- MappedRwLockWriteGuard as MappedWriteGuard , RwLockReadGuard as ReadGuard ,
117
- RwLockWriteGuard as WriteGuard ,
115
+ MappedRwLockReadGuard as MappedReadGuard , MappedRwLockWriteGuard as MappedWriteGuard ,
116
+ RwLockReadGuard as ReadGuard , RwLockWriteGuard as WriteGuard ,
118
117
} ;
119
118
#[ cfg( not( target_has_atomic = "64" ) ) ]
120
119
pub use portable_atomic:: AtomicU64 ;
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ are implemented differently depending on whether `parallel-compiler` is true.
58
58
| WriteGuard | parking_lot::RwLockWriteGuard | std::cell::RefMut |
59
59
| MappedWriteGuard | parking_lot::MappedRwLockWriteGuard | std::cell::RefMut |
60
60
| LockGuard | parking_lot::MutexGuard | std::cell::RefMut |
61
- | MappedLockGuard | parking_lot::MappedMutexGuard | std::cell::RefMut |
62
61
63
62
- These thread-safe data structures are interspersed during compilation which
64
63
can cause lock contention resulting in degraded performance as the number of
You can’t perform that action at this time.
0 commit comments