disable doctests; they are a never ending source of obscure rustc problems

This commit is contained in:
Fabio Valentini 2022-01-25 16:56:54 +01:00
parent 9a9f7b6c5d
commit b9161e1f09
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
1 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,7 @@
Name: rust-%{crate}
Version: 12.0.4
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Utility that allows you to count code, quickly
# Upstream license specification: MIT/Apache-2.0
@ -160,16 +160,17 @@ which use "yaml" feature of "%{crate}" crate.
%if %{with check}
%check
%ifarch %{ix86}
# * work around doctest failures caused by codegen issues with LLVM 12:
# * doctest failures caused by codegen issues with LLVM 12 on i686:
# https://bugzilla.redhat.com/show_bug.cgi?id=2020861
# * doctest failures caused by rustc crashes with LLVM 13 on armv7hl:
# https://bugzilla.redhat.com/show_bug.cgi?id=2045116
%cargo_test -a -- --lib
%else
%cargo_test -a
%endif
%endif
%changelog
* Tue Jan 25 2022 Fabio Valentini <decathorpe@gmail.com> - 12.0.4-11
- Disable doctests. They are a never ending source of obscure rustc problems.
* Tue Jan 25 2022 Fabio Valentini <decathorpe@gmail.com> - 12.0.4-10
- Work around doctest failures caused by codegen issues with LLVM 12.