about summary refs log tree commit diff
path: root/compiler/rustc_target/src
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2022-07-24 13:12:08 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2022-07-24 13:12:08 +0100
commitd931a587e68814de32b93a71d87bf3dfeb361455 (patch)
tree1adc8cca0b2be37b119d6482649605cd23ea3325 /compiler/rustc_target/src
parentb4151a41a0b275dee59ffbbc115e7bfc5be8a8c3 (diff)
downloadrust-d931a587e68814de32b93a71d87bf3dfeb361455.tar.gz
rust-d931a587e68814de32b93a71d87bf3dfeb361455.zip
Revert "Mark atomics as unsupported on thumbv6m"
This reverts commit 75146102197c7f35e6c38cb402b2bc1065858c54.
Diffstat (limited to 'compiler/rustc_target/src')
-rw-r--r--compiler/rustc_target/src/spec/thumbv6m_none_eabi.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_target/src/spec/thumbv6m_none_eabi.rs b/compiler/rustc_target/src/spec/thumbv6m_none_eabi.rs
index dffa19ae55c..2546ab9b7e6 100644
--- a/compiler/rustc_target/src/spec/thumbv6m_none_eabi.rs
+++ b/compiler/rustc_target/src/spec/thumbv6m_none_eabi.rs
@@ -14,9 +14,8 @@ pub fn target() -> Target {
             // The ARMv6-M architecture doesn't support unaligned loads/stores so we disable them
             // with +strict-align.
             features: "+strict-align".into(),
-            // There are no atomic instructions available in the instruction set of the ARMv6-M
+            // There are no atomic CAS instructions available in the instruction set of the ARMv6-M
             // architecture
-            max_atomic_width: Some(0),
             atomic_cas: false,
             ..super::thumb_base::opts()
         },