-
Notifications
You must be signed in to change notification settings - Fork 480
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
crossbeam-epoch's use of offsetof
is unsound
#395
Comments
In particular, on Rust 1.33+, the way |
Thank you for reporting this. May I ask how urgent this issue is for the Rust compiler team? Is it okay for us to wait for @Gilnaa fixing the |
Looking at Cargo.lock rustc's reverse dependency tree to memoffset is:
cc some of these authors:
This is going to take a bit of time to coordinate, I think. While EDIT: As @RalfJung points out below, the macro will naturally need to be updated to use |
Only if the macro gets changed to use it though. |
FWIW the latest rayon uses newer crossbeam, but as tokio shows, that memoffset dependency remains. |
@jeehoonkang yes it is, thanks! Would be nice to get a release of the fixed crossbeam-epoch so that we can get the affected memoffset out of the compiler's dependency tree. |
I agree. Let's track the issue of a new release at #401. Closing this issue. Thank you! |
See:
offset_of
is unsound Gilnaa/memoffset#9cc @RalfJung
The text was updated successfully, but these errors were encountered: