-
-
Notifications
You must be signed in to change notification settings - Fork 105
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 Issue on rust 1.41.0 #68
Comments
System info
|
This also happens on beta and nightly. |
I'm particular, I would like to know why CI didn't catch this. |
This should be not(miri) Though the problem seems to be in more places. |
My bad! I'll be home in 10 to fix, not(all(a, b, c)) should be all(not(all(a, b)), not(c)) |
No rush. It is yanked so there should be anyone impacted by this now. But yeah, thank you. I also need to figure out how to make sure this case is tested in CI. |
If it can help, I see it from a github action CI here https://github.com/snipsco/tract/runs/441345982?check_suite_focus=true |
The compilation error is caused by the logic detecting when the C version should be used, which is
4 wrong cases, the one hit by users was most likely features = "libc", x64 = t, simd = t, miri = f |
This case is not tested in there: |
This fixes the cfg knobs, which were producing a compilation error when memchr had its libc feature enabled without also disabling automatic SIMD acceleration. This particular combination was accidentally not tested in CI, so this ended up breaking builds that had memchr's libc feature enabled. This also adds tests that will specifically be run under miri. Fixes #68, Fixes #69
The text was updated successfully, but these errors were encountered: