implement net.cidr_is_valid builtin - #422
Conversation
|
@microsoft-github-policy-service agree |
|
@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>
|
@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
Signed-off-by: tjons <tylerschade99@gmail.com>
|
Hey @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>
|
@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 |
|
@tjons No worries. I truly glad that you are contributing. |
@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 🦀