diff options
author | Alan Somers <asomers@gmail.com> | 2020-05-16 15:55:30 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2020-05-16 15:55:30 -0600 |
commit | b9203336208378bedb39df124f2e8e64383ef4fc (patch) | |
tree | a53cc4b3eaee8dc3de496857785438780e0686c0 /src/sys/statfs.rs | |
parent | 465a8f73134de0eec1bf28c749cc89cece0c7a1a (diff) | |
download | nix-b9203336208378bedb39df124f2e8e64383ef4fc.zip |
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 #1241
Diffstat (limited to 'src/sys/statfs.rs')
0 files changed, 0 insertions, 0 deletions