Disable doctests on armv7hl to work around a compiler crash on LLVM 14

This commit is contained in:
Fabio Valentini 2022-07-21 20:51:01 +02:00
parent 0ae1ca8f8d
commit 7a0dcc0534
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
1 changed files with 6 additions and 0 deletions

View File

@ -329,8 +329,14 @@ install -Dpm0644 target/release/build/%{crate}-*/out/assets/completions/bat.fish
%if %{with check}
%check
%ifarch %{arm}
# * doctests fail to compile on armv7hl with LLVM 14:
# https://bugzilla.redhat.com/show_bug.cgi?id=2086106
%cargo_test -- --lib
%else
%cargo_test
%endif
%endif
%changelog
%autochangelog