vb64 icon indicating copy to clipboard operation
vb64 copied to clipboard

Build is broken with latest nightly

Open ia0 opened this issue 2 years ago • 0 comments

% rustc --version
rustc 1.76.0-nightly (f967532a4 2023-12-08)
% cargo build
   Compiling vb64 v0.1.2
error[E0405]: cannot find trait `Swizzle2` in this scope
   --> src/util.rs:78:27
    |
78  |     impl<const $N: usize> Swizzle2<$N, $N> for Swz
    |                           ^^^^^^^^ not found in this scope
    |
   ::: src/simd.rs:141:16
    |
141 |   let output = swizzle!(N; decoded_chunks, array!(N; |i| i + i / 3));
    |                ----------------------------------------------------- in this macro invocation
    |
    = note: this error originates in the macro `swizzle` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0412]: cannot find type `Which` in this scope
   --> src/util.rs:82:21
    |
82  |       const INDEX: [Which; $N] = {
    |                     ^^^^^ not found in this scope
    |
   ::: src/simd.rs:141:16
    |
141 |   let output = swizzle!(N; decoded_chunks, array!(N; |i| i + i / 3));
    |                ----------------------------------------------------- in this macro invocation
    |
    = note: this error originates in the macro `swizzle` (in Nightly builds, run with -Z macro-backtrace for more info)

[...]

I didn't try to bisect, but it used to work with a 2023-11-xx nightly.

ia0 avatar Dec 09 '23 14:12 ia0