From 71bfc166e435c7c23462f3cd8d05f4f52c1a9f33 Mon Sep 17 00:00:00 2001 From: Fabio Valentini 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)