mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
7c3977669b
Work around llvm 12's memory ordering restrictions. Older llvm has the pre-C++17 restriction on success and failure memory ordering, requiring the former to be at least as strong as the latter. So, for llvm 12, this upgrades the success ordering to a stronger one if necessary. See https://github.com/rust-lang/rust/issues/68464