Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 751c3b5

Browse files
Update crates/test_helpers/src/lib.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent a49f77e commit 751c3b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/test_helpers/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,9 @@ macro_rules! test_lanes {
539539
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)];
540540
lanes_1 1;
541541
lanes_2 2;
542+
// Cover an odd and an even non-power-of-2 length in Miri.
543+
// (Even non-power-of-2 vectors have alignment between element
544+
// and vector size, so we want to cover that case as well.)
542545
lanes_3 3;
543546

544547
lanes_6 6;

0 commit comments

Comments
 (0)