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

Apply repr(transparent) to several FFI types #1243

Merged
merged 1 commit into from
May 16, 2020

Commits on May 16, 2020

  1. Apply repr(transparent) to several FFI types

    repr(transparent) is required in order to safely cast between an FFI
    type and its NewType.  This commit applies that attribute to PollFd,
    EpollEvent, IpMembershipRequest, Ipv6MembershipRequest, TimeVal, and
    IoVec.
    
    Fixes nix-rust#1241
    asomers committed May 16, 2020
    Configuration menu
    Copy the full SHA
    b920333 View commit details
    Browse the repository at this point in the history