Disable doctests on armv7hl to work around a compiler crash on LLVM 14
This commit is contained in:
parent
0ae1ca8f8d
commit
7a0dcc0534
|
@ -329,8 +329,14 @@ install -Dpm0644 target/release/build/%{crate}-*/out/assets/completions/bat.fish
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%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
|
%cargo_test
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
%autochangelog
|
||||||
|
|
Loading…
Reference in New Issue