Skip to content
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

fix(util): make intrusive list links never Unpin #97

Merged
merged 1 commit into from
Mar 28, 2021

Commits on Mar 28, 2021

  1. fix(util): make intrusive list links never Unpin

    In light of rust-lang/rust#82834, we must ensure that the intrusive
    linked list pointers never get mutable-noalias optimizations (see also
    rust-lang/rust#63818). Adding a `PhantomPinned` to the `Links` struct
    ensures it will always be `!Unpin`, disabling mutable-noalias.
    
    Signed-off-by: Eliza Weisman <[email protected]>
    hawkw committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    7df5ced View commit details
    Browse the repository at this point in the history