@@ -21,7 +21,7 @@ index 092b7cf..158cf71 100644
21
21
- #[cfg(target_has_atomic_load_store = "128")]
22
22
- #[unstable(feature = "integer_atomics", issue = "32976")]
23
23
- impl RefUnwindSafe for crate::sync::atomic::AtomicI128 {}
24
-
24
+
25
25
#[cfg(target_has_atomic_load_store = "ptr")]
26
26
#[stable(feature = "unwind_safe_atomic_refs", since = "1.14.0")]
27
27
@@ -235,9 +232,6 @@ impl RefUnwindSafe for crate::sync::atomic::AtomicU32 {}
@@ -31,14 +31,14 @@ index 092b7cf..158cf71 100644
31
31
- #[cfg(target_has_atomic_load_store = "128")]
32
32
- #[unstable(feature = "integer_atomics", issue = "32976")]
33
33
- impl RefUnwindSafe for crate::sync::atomic::AtomicU128 {}
34
-
34
+
35
35
#[cfg(target_has_atomic_load_store = "8")]
36
36
#[stable(feature = "unwind_safe_atomic_refs", since = "1.14.0")]
37
37
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs
38
38
index d9de37e..8293fce 100644
39
39
--- a/library/core/src/sync/atomic.rs
40
40
+++ b/library/core/src/sync/atomic.rs
41
- @@ -2234,44 +2234,6 @@ atomic_int! {
41
+ @@ -2234,46 +2234,6 @@ atomic_int! {
42
42
"AtomicU64::new(0)",
43
43
u64 AtomicU64 ATOMIC_U64_INIT
44
44
}
@@ -54,6 +54,7 @@ index d9de37e..8293fce 100644
54
54
- unstable(feature = "integer_atomics", issue = "32976"),
55
55
- rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
56
56
- unstable(feature = "integer_atomics", issue = "32976"),
57
+ - cfg_attr(not(test), rustc_diagnostic_item = "AtomicI128"),
57
58
- "i128",
58
59
- "#![feature(integer_atomics)]\n\n",
59
60
- atomic_min, atomic_max,
@@ -73,6 +74,7 @@ index d9de37e..8293fce 100644
73
74
- unstable(feature = "integer_atomics", issue = "32976"),
74
75
- rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
75
76
- unstable(feature = "integer_atomics", issue = "32976"),
77
+ - cfg_attr(not(test), rustc_diagnostic_item = "AtomicU128"),
76
78
- "u128",
77
79
- "#![feature(integer_atomics)]\n\n",
78
80
- atomic_umin, atomic_umax,
@@ -98,6 +100,6 @@ index b735957..ea728b6 100644
98
100
#[cfg(target_has_atomic = "ptr")]
99
101
assert_eq!(align_of::<AtomicUsize>(), size_of::<AtomicUsize>());
100
102
#[cfg(target_has_atomic = "ptr")]
101
- - -
103
+ - -
102
104
2.26.2.7.g19db9cfb68
103
105
0 commit comments