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

epel9
Fabio Valentini 3 years ago
parent 0ae1ca8f8d
commit 7a0dcc0534
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -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…
Cancel
Save