about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-05-09 13:26:54 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-05-09 13:26:54 +0200
commit801eb1914f2b8232dfd2870e7366836c2d88c64b (patch)
treef37dcab94a0d2ce45a1bc9a88d0f57e91ea2f5f4
parent8d969691d43e317f4648ef2c234e5efe9b96e790 (diff)
downloadrust-801eb1914f2b8232dfd2870e7366836c2d88c64b.tar.gz
rust-801eb1914f2b8232dfd2870e7366836c2d88c64b.zip
Remove unnecessary compiler builtins patch
-rw-r--r--crate_patches/0001-compiler-builtins-Disable-128bit-atomic-operations.patch (renamed from crate_patches/0002-compiler-builtins-Disable-128bit-atomic-operations.patch)0
-rw-r--r--crate_patches/0001-compiler-builtins-Remove-rotate_left-from-Int.patch35
2 files changed, 0 insertions, 35 deletions
diff --git a/crate_patches/0002-compiler-builtins-Disable-128bit-atomic-operations.patch b/crate_patches/0001-compiler-builtins-Disable-128bit-atomic-operations.patch
index 7daea99f579..7daea99f579 100644
--- a/crate_patches/0002-compiler-builtins-Disable-128bit-atomic-operations.patch
+++ b/crate_patches/0001-compiler-builtins-Disable-128bit-atomic-operations.patch
diff --git a/crate_patches/0001-compiler-builtins-Remove-rotate_left-from-Int.patch b/crate_patches/0001-compiler-builtins-Remove-rotate_left-from-Int.patch
deleted file mode 100644
index b4acc4f5b73..00000000000
--- a/crate_patches/0001-compiler-builtins-Remove-rotate_left-from-Int.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 7078cca3cb614e1e82da428380b4e16fc3afef46 Mon Sep 17 00:00:00 2001
-From: bjorn3 <bjorn3@users.noreply.github.com>
-Date: Thu, 21 Jan 2021 14:46:36 +0100
-Subject: [PATCH] Remove rotate_left from Int
-
----
- src/int/mod.rs | 5 -----
- 1 file changed, 5 deletions(-)
-
-diff --git a/src/int/mod.rs b/src/int/mod.rs
-index 06054c8..3bea17b 100644
---- a/src/int/mod.rs
-+++ b/src/int/mod.rs
-@@ -85,7 +85,6 @@ pub trait Int:
-     fn wrapping_sub(self, other: Self) -> Self;
-     fn wrapping_shl(self, other: u32) -> Self;
-     fn wrapping_shr(self, other: u32) -> Self;
--    fn rotate_left(self, other: u32) -> Self;
-     fn overflowing_add(self, other: Self) -> (Self, bool);
-     fn leading_zeros(self) -> u32;
- }
-@@ -209,10 +208,6 @@ macro_rules! int_impl_common {
-             <Self>::wrapping_shr(self, other)
-         }
- 
--        fn rotate_left(self, other: u32) -> Self {
--            <Self>::rotate_left(self, other)
--        }
--
-         fn overflowing_add(self, other: Self) -> (Self, bool) {
-             <Self>::overflowing_add(self, other)
-         }
--- 
-2.26.2.7.g19db9cfb68
-