Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0c8f814

Browse files
committedMar 16, 2025
Update cg_clif patch for 128bits integers
1 parent 9234dd9 commit 0c8f814

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
@@ -37,7 +37,7 @@ diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs
3737
index bf2b6d59f88..d5ccce03bbf 100644
3838
--- a/library/core/src/sync/atomic.rs
3939
+++ b/library/core/src/sync/atomic.rs
40-
@@ -3585,44 +3585,6 @@ pub const fn as_ptr(&self) -> *mut $int_type {
40+
@@ -3585,46 +3585,6 @@ pub const fn as_ptr(&self) -> *mut $int_type {
4141
8,
4242
u64 AtomicU64
4343
}
@@ -54,6 +54,7 @@ index bf2b6d59f88..d5ccce03bbf 100644
5454
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
5555
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
5656
- rustc_diagnostic_item = "AtomicI128",
57+
- cfg_attr(not(bootstrap), rustc_significant_interior_mutable_type),
5758
- "i128",
5859
- "#![feature(integer_atomics)]\n\n",
5960
- atomic_min, atomic_max,
@@ -73,6 +74,7 @@ index bf2b6d59f88..d5ccce03bbf 100644
7374
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
7475
- rustc_const_unstable(feature = "integer_atomics", issue = "99069"),
7576
- rustc_diagnostic_item = "AtomicU128",
77+
- cfg_attr(not(bootstrap), rustc_significant_interior_mutable_type),
7678
- "u128",
7779
- "#![feature(integer_atomics)]\n\n",
7880
- atomic_umin, atomic_umax,

0 commit comments

Comments
 (0)
Failed to load comments.