-
Notifications
You must be signed in to change notification settings - Fork 14
Panic on mips64 / mips64el #23
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
Comments
Hm, I suspect there is some difference with float handling on mips causing the validate function to accumulate to something larger than 1.0 on mips64. Are you able to test if things work fine with debug assertions disabled? Maybe I could change the condition to be a bit more lenient, this is just a debug check to make sure the function works correctly anyhow, since it works fine everywhere else (including on big-endian targets) I presume the length values are correct and it's just the validate functions that is a bit bugged on mips64 for whatever reason. |
Looks like there are some float issues with rust on mips: I'll just disable this check on mips systems to avoid this. |
I published a new version which disabled the check on mips platforms. Let me know if this solves the issue! |
Compiles fine with cross, and I've disabled the check, so closing this. |
When using deflate on a mips64 / mips64el target, the deflate crate panics with the following assertion:
Travis CI Job
The text was updated successfully, but these errors were encountered: