From 751c3b5978b8cbc1ce0c789dd68824f3312f7447 Mon Sep 17 00:00:00 2001 From: Caleb Zulawski Date: Wed, 7 Aug 2024 21:25:02 -0400 Subject: [PATCH] Update crates/test_helpers/src/lib.rs Co-authored-by: Ralf Jung --- crates/test_helpers/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/test_helpers/src/lib.rs b/crates/test_helpers/src/lib.rs index a6559de0e76..24efa256c30 100644 --- a/crates/test_helpers/src/lib.rs +++ b/crates/test_helpers/src/lib.rs @@ -539,6 +539,9 @@ macro_rules! test_lanes { #[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)]; lanes_1 1; lanes_2 2; + // Cover an odd and an even non-power-of-2 length in Miri. + // (Even non-power-of-2 vectors have alignment between element + // and vector size, so we want to cover that case as well.) lanes_3 3; lanes_6 6;