rust/compiler/rustc_middle
bors 9dc11a13fa Auto merge of #115422 - Zoxc:cache-once-lock, r=cjgillot
Use `OnceLock` for `SingleCache`

This uses `OnceLock` for `SingleCache` instead of `Lock<Option<T>>` so lookups are lock-free.

r? `@cjgillot`
2023-09-02 03:06:11 +00:00
..
src Auto merge of #115422 - Zoxc:cache-once-lock, r=cjgillot 2023-09-02 03:06:11 +00:00
Cargo.toml
messages.ftl
README.md

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