+++ /dev/null
---- 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))
- }
- }
# 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
%prep
%setup -q -n %{rustc_package}
-%patch0 -p1
%if %{with bootstrap}
%ifarch %{x8664} x32