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 broken on nightly #67

Closed
caelunshun opened this issue Feb 14, 2021 · 3 comments
Closed

Build broken on nightly #67

caelunshun opened this issue Feb 14, 2021 · 3 comments

Comments

@caelunshun
Copy link

Compiling with latest nightly causes the following errors:

error[E0075]: SIMD vector length must be a power of two
    --> /Users/caelum/.cargo/registry/src/github.com-1ecc6299db9ec823/vek-0.12.0/src/vec.rs:2803:13
     |
2803 |               pub struct Vec3<T> { pub x:T, pub y:T, pub z:T }
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
3195 | /     vec_impl_all_vecs!{
3196 | |         simd
3197 | |         #[repr(simd)]
3198 | |     }
     | |_____- in this macro invocation
     |
     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0075]: SIMD vector length must be a power of two
    --> /Users/caelum/.cargo/registry/src/github.com-1ecc6299db9ec823/vek-0.12.0/src/vec.rs:3022:13
     |
3022 |               pub struct Extent3<T> { pub w:T, pub h:T, pub d:T }
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
3195 | /     vec_impl_all_vecs!{
3196 | |         simd
3197 | |         #[repr(simd)]
3198 | |     }
     | |_____- in this macro invocation
     |
     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0075]: SIMD vector length must be a power of two
    --> /Users/caelum/.cargo/registry/src/github.com-1ecc6299db9ec823/vek-0.12.0/src/vec.rs:3112:13
     |
3112 |               pub struct Rgb<T> { pub r:T, pub g:T, pub b:T }
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
3195 | /     vec_impl_all_vecs!{
3196 | |         simd
3197 | |         #[repr(simd)]
3198 | |     }
     | |_____- in this macro invocation
     |
     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 3 previous errors
@caelunshun
Copy link
Author

Seems to be caused by rust-lang/rust#80652

@yoanlcq
Copy link
Owner

yoanlcq commented Feb 15, 2021

Hi,
It looks like you aren't compiling with the latest 0.14 version of vek, which has a fix for that. The related issue was #66 .

Please try that and let me know how it goes :)

@caelunshun
Copy link
Author

caelunshun commented Feb 15, 2021

Hi,
It looks like you aren't compiling with the latest 0.14 version of vek, which has a fix for that. The related issue was #66 .

Please try that and let me know how it goes :)

Ah, thanks. I had updated but still had vek 0.12 in my dependency tree. Removing that fixed the 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

No branches or pull requests

2 participants