]> git.pld-linux.org Git - packages/rust.git/commitdiff
no install miri patch no longer needed
authorJan Palus <atler@pld-linux.org>
Fri, 10 Feb 2023 12:05:37 +0000 (13:05 +0100)
committerJan Palus <atler@pld-linux.org>
Fri, 10 Feb 2023 12:05:37 +0000 (13:05 +0100)
no-install-miri.patch [deleted file]
rust.spec

diff --git a/no-install-miri.patch b/no-install-miri.patch
deleted file mode 100644 (file)
index af1ed81..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- rustc-1.66.0-src/src/bootstrap/install.rs.orig     2022-12-12 17:02:12.000000000 +0100
-+++ rustc-1.66.0-src/src/bootstrap/install.rs  2022-12-18 00:01:24.076587533 +0100
-@@ -130,7 +130,7 @@
-         impl $name {
-             #[allow(dead_code)]
-             fn should_build(config: &Config) -> bool {
--                config.extended && config.tools.as_ref()
-+                $path_or_alias != "miri" && config.extended && config.tools.as_ref()
-                     .map_or(true, |t| t.contains($path_or_alias))
-             }
-         }
index db059f29160ab827dd3cdf42679d097b0dcf0627..80db216167219190a4222083e54b01867ea6adfa 100644 (file)
--- a/rust.spec
+++ b/rust.spec
@@ -53,7 +53,6 @@ Source4:      https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_ru
 # Source4-md5: 3ad4208d29ca809073b43f96767e8b32
 Source5:       https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-armv7-unknown-linux-gnueabihf.tar.xz
 # Source5-md5: f091919a1e13f71db429b3af957bf361
-Patch0:                no-install-miri.patch
 URL:           https://www.rust-lang.org/
 # for src/compiler-rt
 BuildRequires: cmake >= 3.4.3
@@ -341,7 +340,6 @@ Dopełnianie parametrów polecenia cargo w powłoce Zsh.
 
 %prep
 %setup -q -n %{rustc_package}
-%patch0 -p1
 
 %if %{with bootstrap}
 %ifarch %{x8664} x32
This page took 0.499862 seconds and 4 git commands to generate.