-
Notifications
You must be signed in to change notification settings - Fork 506
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
Unupdated crossbeam dependency makes MIRI angry #1185
Comments
So the error you see is not due to an outdated dependency and possibly also unrelated to pointer-to-integer casts. (Miri complains about the stacked borrows model being violated, not provenance issues.) Could you provide some minimal example so others can reproduce the issue including the flags passed to Miri? |
I came across this same bug when using miri. Using a simple parallel iterator loop example i just grabbed from a google search causes it, both in windows and linux (wsl). running with
|
Miri is happier with |
I am testing my code in MIRI, and apparently a version of crossbeam used by rayon (0.8.0) uses integer-pointer casts, which are discouraged.
I'm observing the following error:
I think it should be fixed (see this issue: crossbeam-rs/crossbeam#957 , resolved by this pull crossbeam-rs/crossbeam#796 ); but I think that rayon uses earlier version of crossbeam.
The text was updated successfully, but these errors were encountered: