Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For invalid IP address conversions with future Rust versions #2061

Merged
merged 1 commit into from
Jun 29, 2023

Commits on Jun 28, 2023

  1. 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 nix-rust#2053
    asomers committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    1546857 View commit details
    Browse the repository at this point in the history