diff options
author | Alan Somers <asomers@gmail.com> | 2023-06-27 17:30:35 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2023-06-27 21:26:18 -0600 |
commit | 1546857f8c6a8ccd444eb656f4421003a376f5cd (patch) | |
tree | 05b9dad5c01c4f752a8913a3b007a638071ee0f1 /test/test_dir.rs | |
parent | 9a3010b62bdd61aa7d5d221af2ea3d72868dd59e (diff) | |
download | nix-1546857f8c6a8ccd444eb656f4421003a376f5cd.zip |
For invalid IP address conversions with future Rust versions
Rust's standard library no longer guarantees that Ipv4Addr and Ipv6Addr
are wrappers around the C types (though for now at least, they are
identical on all platforms I'm aware of). So do the conversions
explicitly instead of transmuting.
Fixes #2053
Diffstat (limited to 'test/test_dir.rs')
0 files changed, 0 insertions, 0 deletions