Skip to content

Conversation

@burgerindividual
Copy link
Contributor

When compiling for AVX512, the following error occurs in bitmask.rs:

error[E0599]: no associated item named `EMPTY_BIT_MASK` found for associated type `<lane_count::LaneCount<N> as lane_count::SupportedLaneCount>::BitMask` in the current scope
   --> /home/ryan/.cargo/git/checkouts/portable-simd-8edd7e7a3748e100/3439347/crates/core_simd/src/masks/bitmask.rs:133:72
    |
133 |         let mut bytes = <LaneCount<N> as SupportedLaneCount>::BitMask::EMPTY_BIT_MASK;
    |                                                                        ^^^^^^^^^^^^^^ associated item not found in `<lane_count::LaneCount<N> as lane_count::SupportedLaneCount>::BitMask`

For more information about this error, try `rustc --explain E0599`.

This just fixes the reference to EMPTY_BIT_MASK to match everywhere else.

@calebzulawski calebzulawski merged commit f560820 into rust-lang:master Aug 4, 2025
59 checks passed
@calebzulawski
Copy link
Member

Thank you!

@burgerindividual burgerindividual deleted the fix-avx512 branch August 4, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants