about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-28 04:12:34 +0000
committerbors <bors@rust-lang.org>2023-02-28 04:12:34 +0000
commitfd1f1fa0d10430885478276341e4afa2e2875adb (patch)
tree134a43d4f96baedf031e22dae295b6734e48941f /library/core/src
parentb583ede652936887a85c54bb793251479c82d3ee (diff)
parenta4f2d14875a9b65e216020cbb44804727396fff7 (diff)
downloadrust-fd1f1fa0d10430885478276341e4afa2e2875adb.tar.gz
rust-fd1f1fa0d10430885478276341e4afa2e2875adb.zip
Auto merge of #106774 - Nugine:master, r=Amanieu
Stabilize cmpxchg16b_target_feature

Tracking issue for target features
+ #44839

stdarch issue
+ https://github.com/rust-lang/stdarch/issues/827

stdarch PR
+ https://github.com/rust-lang/stdarch/pull/1358

reference PR
+ https://github.com/rust-lang/reference/pull/1331

It's my first time contributing to rust-lang/rust. Please tell me if I missed something.
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs
index 41e12e80dbe..d17ff651f4f 100644
--- a/library/core/src/lib.rs
+++ b/library/core/src/lib.rs
@@ -244,7 +244,6 @@
 // Target features:
 #![feature(arm_target_feature)]
 #![feature(avx512_target_feature)]
-#![feature(cmpxchg16b_target_feature)]
 #![feature(hexagon_target_feature)]
 #![feature(mips_target_feature)]
 #![feature(powerpc_target_feature)]
@@ -253,6 +252,7 @@
 #![feature(sse4a_target_feature)]
 #![feature(tbm_target_feature)]
 #![feature(wasm_target_feature)]
+#![cfg_attr(bootstrap, feature(cmpxchg16b_target_feature))]
 
 // allow using `core::` in intra-doc links
 #[allow(unused_extern_crates)]