rust-lang / packed_simd

Portable Packed SIMD Vectors for Rust standard library
https://rust-lang.github.io/packed_simd/packed_simd_2/
Apache License 2.0
589 stars 74 forks source link

Can't build on latest nightly #337

Closed jorgecarleitao closed 2 years ago

jorgecarleitao commented 2 years ago

It seems that a new constraint was imposed to constant parameters on nightly:

error: type parameters must be declared prior to const parameters
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.6/src/codegen/llvm.rs:20:54
   |
20 | pub unsafe fn __shuffle_vector2<const IDX: [u32; 2], T, U>(x: T, y: T) -> U
   |                                ----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 2]>`
jorgecarleitao commented 2 years ago

This is incorrect; It was not being built on nightly. Closing as invalid.