]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #99595 - nikic:thumbv6m-atomics, r=nagisa
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 23 Jul 2022 21:34:31 +0000 (23:34 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Jul 2022 21:34:31 +0000 (23:34 +0200)
commit90c6cde43a9b45017375231bfd8f0eb38f9b4a04
treea3e5eaec30218eca07905fa13f006eb1abcab827
parent3648dd552a850eb57119faa9c85a811676799b2c
parent75146102197c7f35e6c38cb402b2bc1065858c54
Rollup merge of #99595 - nikic:thumbv6m-atomics, r=nagisa

Mark atomics as unsupported on thumbv6m

The thumbv6m target does not support atomics. Historically, LLVM
had a bug where atomic load/stores for this target were emitted
as plain load/stores rather than as libatomic calls. This was
fixed in https://reviews.llvm.org/D120026, which will be part of
LLVM 15. As we require that "atomic support" does not use libatomic,
we need to indicate that this target does not have native atomics.