mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 07:35:39 +00:00
Use `OnceLock` for `SingleCache` This uses `OnceLock` for `SingleCache` instead of `Lock<Option<T>>` so lookups are lock-free. r? `@cjgillot`
For more information about how rustc works, see the rustc dev guide.