Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build is broken with latest nightly #2

Open
ia0 opened this issue Dec 9, 2023 · 0 comments · May be fixed by #3
Open

Build is broken with latest nightly #2

ia0 opened this issue Dec 9, 2023 · 0 comments · May be fixed by #3

Comments

@ia0
Copy link

ia0 commented Dec 9, 2023

% 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 added a commit to ia0/data-encoding that referenced this issue Dec 9, 2023
This essentially reverts #93. This could be reverted back once
mcy/vb64#2 is fixed.
ia0 added a commit to ia0/data-encoding that referenced this issue Dec 9, 2023
This essentially reverts #93. This could be reverted back once
mcy/vb64#2 is fixed.
@lukaslihotzki lukaslihotzki linked a pull request Feb 8, 2024 that will close this issue
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 a pull request may close this issue.

1 participant