From e8b3d56565e1ba5f47f5154b1147acafedad6b5a Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 21 Mar 2022 09:15:38 -0400 Subject: [PATCH] test bitmasks smaller than a byte --- tests/pass/portable-simd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pass/portable-simd.rs b/tests/pass/portable-simd.rs index 0dfe617bd8d..ceefd180dff 100644 --- a/tests/pass/portable-simd.rs +++ b/tests/pass/portable-simd.rs @@ -201,7 +201,7 @@ fn simd_mask() { let values = [false, false, false, true]; let mask = Mask::::from_array(values); let bitmask = mask.to_bitmask(); - // FIXME fails until https://github.com/rust-lang/portable-simd/pull/267 lands: assert_eq!(bitmask, 0b1000); + assert_eq!(bitmask, 0b1000); assert_eq!(Mask::::from_bitmask(bitmask), mask); }