nix
nix copied to clipboard
Workaround XNU bug in getifaddrs netmasks
Fixes #1709
CI breakage seems unrelated to my MR (looks like the latest serde release broke compatibility with the version of rustc/cargo used by CI).
CI breakage seems unrelated to my MR (looks like the latest serde release broke compatibility with the version of rustc/cargo used by CI).
The CI breakage was due to a Cargo bug that has since been fixed. However, serde needs to yank their most recent release and publish a new one before things will work again. https://github.com/serde-rs/serde/issues/2255 .
Rebasing will fix ci
I rewrote the workaround to be safer - at least, I think it's safer. It now copies the data to a new zeroed sockaddr_storage.
Bump. This has been used in prod for a little while, and is, as far as I can tell, sound.
@roblabla you still need to rebase this, both to fix CI and to fix the conflict.
Looks good, but still needs a CHANGELOG entry.
Build succeeded:
- Android aarch64
- Android arm
- Android armv7
- Android i686
- Android x86_64
- DragonFly BSD x86_64
- FreeBSD 12 amd64 & i686
- FreeBSD 14 amd64 & i686
- Fuchsia x86_64
- Haiku x86_64
- Illumos
- iOS aarch64
- iOS x86_64
- Linux aarch64
- Linux arm gnueabi
- Linux arm-musleabi
- Linux armv7 gnueabihf
- Linux armv7 uclibceabihf
- Linux i686
- Linux i686 musl
- Linux MIPS
- Linux MIPS64
- Linux MIPS64 el
- Linux mipsel
- Linux powerpc
- Linux powerpc64
- Linux powerpc64le
- Linux s390x
- Linux x32
- Linux x86_64
- Linux x86_64 musl
- macOS aarch64
- macOS x86_64
- Minver
- NetBSD x86_64
- OpenBSD x86_64
- Redox x86_64
- Rust Formatter
- Rust Stable