Fix nightly_portable_simd after LaneCount removal.#344
Conversation
|
Hmmm... it seems that https://doc.rust-lang.org/cargo/reference/features.html says that the |
Actually, in local testing it seems that just replacing |
rust-lang/rust@0eaef59 (which included rust-lang/portable-simd#485) was merged on 2026-01-27 and removed `core::simd::LaneCount`. This `bytemuck` commit ensures that `nightly_portable_simd` feature of `bytemuck` can build with nightly Rust before and after the `LaneCount` change. Fixes Lokathor#343
|
I can't get to this for a few hours but I will try to get to it tonight. |
Thanks! FWIW Chromium's Rust toolchain roll should be unblocked at this point by https://crrev.com/c/7535942/2..3, so (at least from Chromium perspective) this PR isn't very urgent - totally fine to get to it in the next few days or so. (i.e. Chromium can temporarily carry a Chromium-specific patch for |
|
released in 1.25 |
rust-lang/rust@0eaef59 (which included rust-lang/portable-simd#485) was merged on 2026-01-27 and removed
core::simd::LaneCount. Thisbytemuckcommit ensures thatnightly_portable_simdfeature ofbytemuckcan build with nightly Rust before and after theLaneCountchange.Fixes #343