public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-arrayvec] f44: Skip two tests on 32-bit architectures
Date: Tue, 23 Jun 2026 15:10:05 GMT [thread overview]
Message-ID: <178222740509.1.15357118039323989783.rpms-rust-arrayvec-66b955011214@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-arrayvec
Branch : f44
Commit : 66b955011214b6d382c78ddf3f0c2b01489c8da0
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-06-23T17:02:13+02:00
Stats : +36/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-arrayvec/c/66b955011214b6d382c78ddf3f0c2b01489c8da0?branch=f44
Log:
Skip two tests on 32-bit architectures
---
diff --git a/0001-tests-skip-two-tests-on-32-bit-architectures.patch b/0001-tests-skip-two-tests-on-32-bit-architectures.patch
new file mode 100644
index 0000000..f4ee4e9
--- /dev/null
+++ b/0001-tests-skip-two-tests-on-32-bit-architectures.patch
@@ -0,0 +1,35 @@
+From 53c2b36dee21d3fa57e64573ce8580b18ea7aca5 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Tue, 23 Jun 2026 16:53:17 +0200
+Subject: [PATCH] tests: skip two tests on 32-bit architectures
+
+https://github.com/bluss/arrayvec/issues/311
+---
+ tests/tests.rs | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/tests.rs b/tests/tests.rs
+index 098614b..32bdd23 100644
+--- a/tests/tests.rs
++++ b/tests/tests.rs
+@@ -756,7 +756,7 @@ fn allow_max_capacity_arrayvec_type() {
+ }
+
+ #[should_panic(expected="largest supported capacity")]
+-#[cfg(not(target_pointer_width = "16"))]
++#[cfg(not(any(target_pointer_width = "16", target_pointer_width = "32")))]
+ #[test]
+ fn deny_max_capacity_arrayvec_value() {
+ // this type is allowed to be used (but can't be constructed)
+@@ -764,7 +764,7 @@ fn deny_max_capacity_arrayvec_value() {
+ }
+
+ #[should_panic(expected="index out of bounds")]
+-#[cfg(not(target_pointer_width = "16"))]
++#[cfg(not(any(target_pointer_width = "16", target_pointer_width = "32")))]
+ #[test]
+ fn deny_max_capacity_arrayvec_value_const() {
+ // this type is allowed to be used (but can't be constructed)
+--
+2.54.0
+
diff --git a/rust-arrayvec.spec b/rust-arrayvec.spec
index 39961bb..efbeacd 100644
--- a/rust-arrayvec.spec
+++ b/rust-arrayvec.spec
@@ -16,6 +16,7 @@ Source: %{crates_source}
# * drop unused, benchmark-only bencher dev-dependency
# * drop unused support for borsh
Patch: arrayvec-fix-metadata.diff
+Patch: 0001-tests-skip-two-tests-on-32-bit-architectures.patch
BuildRequires: cargo-rpm-macros >= 24
reply other threads:[~2026-06-23 15:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178222740509.1.15357118039323989783.rpms-rust-arrayvec-66b955011214@fedoraproject.org \
--to=decathorpe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox