-
Notifications
You must be signed in to change notification settings - Fork 152
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
Compilation failed on koji i686 #203
Comments
What version of glam are you building? The code looks old, this issue has been fixed on git master but the fix isn't in a crates.io release yet. It will be in 0.17 when that happens. |
In any case, I'll close this since judging by the error message this is fixed in recent versions. |
I was using the latest version on crate.io. i just have to deactivate i686 build until the fix is propagate since fedora don't like pulling from git. |
@remilauzier should be fixed in release 0.17.x |
https://kojipkgs.fedoraproject.org//work/tasks/5288/70575288/build.log
The compilation passed on the other architectures.
error[E0080]: evaluation of constant value failed
--> src/macros.rs:21:23
|
21 | const _: [(); 0 - !{
| _____^
22 | | const ASSERT: bool = $x;
23 | | ASSERT
24 | | } as usize] = [];
| |^ attempt to compute
0_usize - 1_usize
, which would overflow|
::: src/affine2.rs:501:5
|
501 | const_assert_eq!(8, core::mem::align_of::super::DAffine2());
| -------------------------------------------------------------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
The text was updated successfully, but these errors were encountered: