-
Notifications
You must be signed in to change notification settings - Fork 13.3k
std::net: Ipv4Addr and Ipv6Addr improvements #51832
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
Conversation
r? @TimNN (rust_highfive has picked a reviewer for you, use r? to override) |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
ISTR from when I worked on
|
@rust-lang/libs: This PR adds several new methods |
It looks like these methods aren't stable yet so there shouldn't be any stability worries here, in which case seems fine to me to land! |
@alexcrichton this is not totally done yet sorry, I'll push one more change for |
Sure thing! |
Ping from triage, @little-dude: We haven't heard from you in a while, what is the status of this PR? |
Thank you for this PR @little-dude! Unfortunately we haven't heard from you on this in a while, so I'm closing the PR to keep things tidy. Don't worry though, if you'll have time again in the future please reopen this PR, we'll be happy to review it again! |
This is work in progress, but I'm opening the PR because I already have a few questions.
This PR:
Ipv4Addr
Ipv4Addr:is_global()
Ipv6Addr::is_unicast_link_local()
although as noted in Tracking issue for Ipv{4,6}Addr convenience methods #27709 by @therealbstern, this "fix" is probably not what we want.As I said I have a few questions:
./x.py -i test src/libstd --test-args std::net
and a few variants, but on my laptop, those commands take more than an hour, so it's not viable. So how can I run the tests insrc/libstd/net/ip.rs
?#[stable(since = "1.7.0", feature = "ip_17")]
, but I'm not sure whatip_17
stands for. Should I add#[unstable]
?