mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
a5dce6c99a
Rely on libc for correct integer types in os/unix/net/ancillary.rs. This PR is a small maintainability improvement. It simplifies `unix/net/ancillary.rs` in `std` by removing the `cfg_ifs` for casting to the correct integer type, and just rely on libc to define the struct correctly.