diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-07-27 14:26:00 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-08-09 12:39:59 +0200 |
| commit | 89582e8193e0da64a54c4ffae7f9fa64ed9fe2af (patch) | |
| tree | 9bdc713a34c12cf2d5ea2f68573cdb06ea14421b /compiler/rustc_llvm/build.rs | |
| parent | 9d97606193458be2eadd0d708c082bd9a79dd612 (diff) | |
| download | rust-89582e8193e0da64a54c4ffae7f9fa64ed9fe2af.tar.gz rust-89582e8193e0da64a54c4ffae7f9fa64ed9fe2af.zip | |
Pass +atomics-32 feature for thumbv6m target
https://reviews.llvm.org/D120026 changed atomics on thumbv6m to use libatomic, to ensure that atomic load/store are compatible with atomic RMW/CAS. However, Rust wants to expose only load/store without libcalls. https://reviews.llvm.org/D130480 added support for this behind the +atomics-32 target feature, so enable that feature.
Diffstat (limited to 'compiler/rustc_llvm/build.rs')
0 files changed, 0 insertions, 0 deletions
