rust/compiler/rustc_middle
bors a0c28cd9dc Auto merge of #115401 - Zoxc:freeze, r=oli-obk
Add `FreezeLock` type and use it to store `Definitions`

This adds a `FreezeLock` type which allows mutation using a lock until the value is frozen where it can be accessed lock-free. It's used to store `Definitions` in `Untracked` instead of a `RwLock`. Unlike the current scheme of leaking read guards this doesn't deadlock if definitions is written to after no mutation are expected.
2023-09-06 11:48:43 +00:00
..
src Auto merge of #115401 - Zoxc:freeze, r=oli-obk 2023-09-06 11:48:43 +00:00
Cargo.toml Replace in-tree rustc_apfloat with the new version of the crate 2023-07-26 10:20:15 -04:00
messages.ftl Don't attempt to compute layout of type referencing error 2023-07-27 18:24:08 +00:00
README.md

For more information about how rustc works, see the rustc dev guide.