diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-04 15:12:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-04 15:12:55 +0000 |
commit | b3f935923dee7fd8de2ff4aff6ef7776207b39d8 (patch) | |
tree | 64d5beb795e4cfbb6077226f5210753783dfd8af /src/sys/inotify.rs | |
parent | c5d75b8807e6c3359b81bf974e5b40ffe3382d1f (diff) | |
parent | 987c8a607b7b5b12660efeb50376ccce6b17e9a6 (diff) | |
download | nix-b3f935923dee7fd8de2ff4aff6ef7776207b39d8.zip |
Merge #1416
1416: Use memoffset::offset_of instead of homegrown macro r=asomers a=asomers
The homegrown macro was fine in 2016, but at some point it technically
became UB. The memoffset crate does the same thing, but avoids UB when
using rustc 1.51.0 or later.
Fixes #1415
Co-authored-by: Alan Somers <asomers@gmail.com>
Diffstat (limited to 'src/sys/inotify.rs')
0 files changed, 0 insertions, 0 deletions