about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-16 18:33:38 +0000
committerbors <bors@rust-lang.org>2020-09-16 18:33:38 +0000
commit44d6439bfdcdd33435ca402ae1b04e1c0d6eb6ab (patch)
treeb5ff708a058e7d88b86e438512f9e328e2865c3e /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent5e60497fb8625331afd01769141566f15a6a34aa (diff)
parent09f7a377a663043c6f63ded70436ac0969e4abc7 (diff)
downloadrust-44d6439bfdcdd33435ca402ae1b04e1c0d6eb6ab.tar.gz
rust-44d6439bfdcdd33435ca402ae1b04e1c0d6eb6ab.zip
Auto merge of #6025 - thomcc:compare_exchange_atomics, r=flip1995
Extend invalid_atomic_ordering for compare_exchange{,_weak} and fetch_update

changelog: The invalid_atomic_ordering lint can now detect misuse of `compare_exchange`, `compare_exchange_weak`, and `fetch_update`.

---

I was surprised not to find an issue or existing support here, since these are the functions which are always hardest to get the ordering right on for me (as the allowed orderings for `fail` depend on the `success` parameter).

I believe this lint now covers all atomic methods which care about their ordering now, but I could be wrong.

Hopefully I didn't forget to do anything for the PR!
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions