implement net.cidr_is_valid builtin - #422
Conversation
|
@microsoft-github-policy-service agree |
Anand Krishnamoorthi (anakrish)
left a comment
There was a problem hiding this comment.
Hey Tyler Schade (@tjons),
Thanks for the contribution. Overall looks good to me. I've provided some suggestions.
|
Anand Krishnamoorthi (@anakrish) thanks for the feedback! I'll update this and finish ipv6 this week. Do let me know your thoughts on #422 (comment), which will either dramatically simplify the implementation or take a bit longer :) |
Signed-off-by: tjons <tylerschade99@gmail.com>
Signed-off-by: tjons <tylerschade99@gmail.com>
net.cidr_is_valid builtinnet.cidr_is_valid builtin
Signed-off-by: tjons <tylerschade99@gmail.com>
|
Anand Krishnamoorthi (@anakrish) sorry for the wait, addressed all the feedback! Let me know if anything else is needed for this builtin, I'll get started on the rest this week. |
c49417d to
5797da6
Compare
Anand Krishnamoorthi (anakrish)
left a comment
There was a problem hiding this comment.
Tyler Schade (@tjons) Overall looks good to me. Some suggestions on propagating the errors.
Signed-off-by: tjons <tylerschade99@gmail.com>
|
Hey Tyler Schade (@tjons), Overall looks good to me. There are a bunch of format string related failures. https://github.com/microsoft/regorus/actions/runs/16734832282/job/47424635159?pr=422 Can you also add |
Signed-off-by: tjons <tylerschade99@gmail.com>
|
Anand Krishnamoorthi (@anakrish) done! I promise future contributions will be smoother, thanks for bearing with me, sorry this has taken a while as I'm learning the ropes. While enabling the builtins in the tests, I had to refactor the code to not use |
|
Tyler Schade (@tjons) No worries. I truly glad that you are contributing. |
a8384da
into
microsoft:main
Anand Krishnamoorthi (@anakrish) I've been working on implementing the
net.cidr_is_validbuiltin. It currently is complete for IPv4, and so I wanted to try to get some early feedback while I finish support for IPv6.I'm still quite new to Rust, and so please feel free to give any pointers or suggestions you think I might be missing 🦀