about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-05 20:39:53 +0100
committerGitHub <noreply@github.com>2024-01-05 20:39:53 +0100
commit60a2b437080ad3ec4d5d334c314a20a2c0f9cbc1 (patch)
treefb1f4fc069fdd3947bfe416aaaa2adada75b7467 /compiler/rustc_codegen_gcc/example/example.rs
parentad7aabd9652bfda6bb267acd4b0f57fc96df4d60 (diff)
parent4bc3552cd871afe32cb45f7c9685492af430ed77 (diff)
downloadrust-60a2b437080ad3ec4d5d334c314a20a2c0f9cbc1.tar.gz
rust-60a2b437080ad3ec4d5d334c314a20a2c0f9cbc1.zip
Rollup merge of #119589 - petrochenkov:cdatalock, r=Mark-Simulacrum
cstore: Remove unnecessary locking from `CrateMetadata`

Locks and atomics in `CrateMetadata` fields were necessary before https://github.com/rust-lang/rust/pull/107765 when `CStore` was cloneable, but now they are not necessary and can be removed after restructuring the code a bit to please borrow checker.

All remaining locked fields in `CrateMetadata` are lazily populated caches.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions