Skip to content

Commit 068bc58

Browse files
committed
Update cg_clif patch for 128bits integers
1 parent 50ff24b commit 068bc58

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ index bf2b6d59f88..d5ccce03bbf 100644
4646

4747
#[cfg(target_pointer_width = "16")]
4848
impl_atomic_primitive!(AtomicIsize(isize), size("ptr"), align(2));
49-
@@ -3585,44 +3585,6 @@ pub const fn as_ptr(&self) -> *mut $int_type {
49+
@@ -3585,46 +3585,6 @@ pub const fn as_ptr(&self) -> *mut $int_type {
5050
8,
5151
u64 AtomicU64
5252
}
@@ -63,6 +63,7 @@ index bf2b6d59f88..d5ccce03bbf 100644
6363
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
6464
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
6565
- rustc_diagnostic_item = "AtomicI128",
66+
- cfg_attr(not(bootstrap), rustc_significant_interior_mutable_type),
6667
- "i128",
6768
- "#![feature(integer_atomics)]\n\n",
6869
- atomic_min, atomic_max,
@@ -82,6 +83,7 @@ index bf2b6d59f88..d5ccce03bbf 100644
8283
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
8384
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
8485
- rustc_diagnostic_item = "AtomicU128",
86+
- cfg_attr(not(bootstrap), rustc_significant_interior_mutable_type),
8587
- "u128",
8688
- "#![feature(integer_atomics)]\n\n",
8789
- atomic_umin, atomic_umax,

0 commit comments

Comments
 (0)