about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/patches/0027-stdlib-128bit-atomic-operations.patch
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-11 10:42:48 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-11 10:42:48 +0000
commit2ab4334a9601ecb2e47fe5a90ec985fe745a2a23 (patch)
treeffc281d6f9db5f75d6b4e1496b8dbfaaa7462440 /compiler/rustc_codegen_cranelift/patches/0027-stdlib-128bit-atomic-operations.patch
parent05ccc49a4412a23a7afa1226804bb44558fb15b0 (diff)
parent89f54caacf90e99fc8ba0d60a28bdadea3cfdf1e (diff)
downloadrust-2ab4334a9601ecb2e47fe5a90ec985fe745a2a23.tar.gz
rust-2ab4334a9601ecb2e47fe5a90ec985fe745a2a23.zip
Merge commit '89f54caacf90e99fc8ba0d60a28bdadea3cfdf1e' into sync_cg_clif-2024-04-11
Diffstat (limited to 'compiler/rustc_codegen_cranelift/patches/0027-stdlib-128bit-atomic-operations.patch')
-rw-r--r--compiler/rustc_codegen_cranelift/patches/0027-stdlib-128bit-atomic-operations.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/patches/0027-stdlib-128bit-atomic-operations.patch b/compiler/rustc_codegen_cranelift/patches/0027-stdlib-128bit-atomic-operations.patch
index 646928893e9..a3f370af916 100644
--- a/compiler/rustc_codegen_cranelift/patches/0027-stdlib-128bit-atomic-operations.patch
+++ b/compiler/rustc_codegen_cranelift/patches/0027-stdlib-128bit-atomic-operations.patch
@@ -82,6 +82,19 @@ index d9de37e..8293fce 100644
  #[cfg(target_has_atomic_load_store = "ptr")]
  macro_rules! atomic_int_ptr_sized {
      ( $($target_pointer_width:literal $align:literal)* ) => { $(
+diff --git a/library/core/src/cell.rs b/library/core/src/cell.rs
+index 58b9ba4..91bbd0a 100644
+--- a/library/core/src/cell.rs
++++ b/library/core/src/cell.rs
+@@ -2246,8 +2246,6 @@ unsafe_cell_primitive_into_inner! {
+     u32 "32"
+     i64 "64"
+     u64 "64"
+-    i128 "128"
+-    u128 "128"
+     isize "ptr"
+     usize "ptr"
+ }
 --
 2.26.2.7.g19db9cfb68