From a5de58b5f2659ce206551dc8f70b8349bed2f802 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 1 Jun 2022 13:51:12 +0200 Subject: [PATCH] Skip a test that fails with Rust 1.60+ --- rust-no-panic.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust-no-panic.spec b/rust-no-panic.spec index 75a5233..e4f8f4b 100644 --- a/rust-no-panic.spec +++ b/rust-no-panic.spec @@ -67,7 +67,9 @@ use "the default" feature of the "%{crate}" crate. %if %{with check} %check -%cargo_test +# * skip a test that fails with Rust 1.60+, upstream commit: +# https://github.com/dtolnay/no-panic/commit/fce1081 +%cargo_test -- -- --skip no_panic::test_self_in_vec %endif %changelog