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 3e46a9a

Browse files
committedOct 25, 2024
Update cg_clif patch for 128bits integers
1 parent d450e11 commit 3e46a9a

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,42 +2996,6 @@ atomic_int! {
41+
@@ -2996,44 +2996,6 @@ atomic_int! {
4242
8,
4343
u64 AtomicU64
4444
}
@@ -54,6 +54,7 @@ index d9de37e..8293fce 100644
5454
- unstable(feature = "integer_atomics", issue = "99069"),
5555
- rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
5656
- cfg_attr(not(test), 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,
@@ -72,6 +73,7 @@ index d9de37e..8293fce 100644
7273
- unstable(feature = "integer_atomics", issue = "99069"),
7374
- rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
7475
- cfg_attr(not(test), rustc_diagnostic_item = "AtomicU128"),
76+
- cfg_attr(not(bootstrap), rustc_significant_interior_mutable_type),
7577
- "u128",
7678
- "#![feature(integer_atomics)]\n\n",
7779
- atomic_umin, atomic_umax,

0 commit comments

Comments
 (0)
Failed to load comments.