]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #82093 - bjorn3:more_atomic_tests, r=kennytm
authorDylan DPC <dylan.dpc@gmail.com>
Fri, 19 Feb 2021 01:49:07 +0000 (02:49 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Feb 2021 01:49:07 +0000 (02:49 +0100)
commitf8b61d852c2de4632278322d6d00a7f066277e14
tree45cef7fc4d276ef463b9e9d5c06628e38bdf1a2d
parentc821063a53a6d236ed79de14e721d7c8869f63c2
parent4fa9e08e3dc10acdb322490d5ac24e937c0f43f5
Rollup merge of #82093 - bjorn3:more_atomic_tests, r=kennytm

Add tests for Atomic*::fetch_{min,max}

This ensures that all atomic operations except for fences are tested. This has been useful to test my work on using atomic instructions for atomic operations in cg_clif instead of a global lock.