From d931a587e68814de32b93a71d87bf3dfeb361455 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Sun, 24 Jul 2022 13:12:08 +0100 Subject: [PATCH] Revert "Mark atomics as unsupported on thumbv6m" This reverts commit 75146102197c7f35e6c38cb402b2bc1065858c54. --- compiler/rustc_target/src/spec/thumbv6m_none_eabi.rs | 3 +-- 1 file changed, 1 insertion(+), 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 dffa19ae55c04..2546ab9b7e680 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() },