about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-06-26 13:14:57 +0900
committerGitHub <noreply@github.com>2022-06-26 13:14:57 +0900
commit7c3977669b69cf69bf9ab51ed8bee155fb442448 (patch)
tree8a19a655f00506675e3edfcd76fe789a4f7ffad2 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent645e5c475a238581f6aefe53d416ddcc7aff5fb3 (diff)
parent903357604d154888320135086e4d862bc71d644a (diff)
downloadrust-7c3977669b69cf69bf9ab51ed8bee155fb442448.tar.gz
rust-7c3977669b69cf69bf9ab51ed8bee155fb442448.zip
Rollup merge of #98385 - m-ou-se:llvm-12-memory-order, r=petrochenkov
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions