Skip to content

Commit 8aaf94d

Browse files
committed
Update cg_clif patch for 128bits integers
1 parent b887d11 commit 8aaf94d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/rustc_codegen_cranelift/patches/0027-stdlib-128bit-atomic-operations.patch

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs
3838
index d9de37e..8293fce 100644
3939
--- a/library/core/src/sync/atomic.rs
4040
+++ b/library/core/src/sync/atomic.rs
41-
@@ -2996,44 +2996,6 @@ atomic_int! {
41+
@@ -2996,46 +2996,6 @@ atomic_int! {
4242
8,
4343
u64 AtomicU64
4444
}
@@ -55,6 +55,7 @@ index d9de37e..8293fce 100644
5555
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
5656
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
5757
- cfg_attr(not(test), rustc_diagnostic_item = "AtomicI128"),
58+
- cfg_attr(not(bootstrap), rustc_significant_interior_mutable_type),
5859
- "i128",
5960
- "#![feature(integer_atomics)]\n\n",
6061
- atomic_min, atomic_max,
@@ -74,6 +75,7 @@ index d9de37e..8293fce 100644
7475
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
7576
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
7677
- cfg_attr(not(test), rustc_diagnostic_item = "AtomicU128"),
78+
- cfg_attr(not(bootstrap), rustc_significant_interior_mutable_type),
7779
- "u128",
7880
- "#![feature(integer_atomics)]\n\n",
7981
- atomic_umin, atomic_umax,

0 commit comments

Comments
 (0)