mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-13 23:58:34 +00:00

* Fix race condition in feature cache on 32 platforms If we observe that the second word is initialized, we can't really assume that the first is initialized as well. So check each word separately. * Use stronger atomic ordering Better SeqCst than sorry! * Use two caches on x64 for simplicity