Skip to content

Commit bdc90e5

Browse files
budziqdtolnay
authored andcommitted
stabilized compiler_fences (fixes rust-lang#41091)
1 parent 7b61414 commit bdc90e5

File tree

2 files changed

+1
-107
lines changed

2 files changed

+1
-107
lines changed

src/doc/unstable-book/src/library-features/compiler-fences.md

Lines changed: 0 additions & 106 deletions
This file was deleted.

src/libcore/sync/atomic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1690,7 +1690,7 @@ pub fn fence(order: Ordering) {
16901690
/// [`AcqRel`]: enum.Ordering.html#variant.AcqRel
16911691
/// [`Relaxed`]: enum.Ordering.html#variant.Relaxed
16921692
#[inline]
1693-
#[unstable(feature = "compiler_fences", issue = "41091")]
1693+
#[stable(feature = "compiler_fences", since = "1.22.0")]
16941694
pub fn compiler_fence(order: Ordering) {
16951695
unsafe {
16961696
match order {

0 commit comments

Comments
 (0)