-
Notifications
You must be signed in to change notification settings - Fork 1k
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
NetBSD: add two more errno values #3040
Conversation
available in NetBSD-current since 2020
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon. Please see the contribution instructions for more information. |
Why would this be a "breakage candidate"? Because it changes |
Yes, and I think it could cause a bug (or any weird behavior due to lack of errno) if the last value points to a newer number while the user env is older. |
Hmm. I think that would be due to invalid reasoning on the part of the programmer, which we can't completely protect people from, but I agree that it's in any case quite silly from the Rust PoV. One option:
I think in this case having an errno with a larger value than |
Noting that #1902 was handled by leaving the value in place and deprecating it, though that time we said we'd change it. |
@0-wiz-0 Could you apply this?
@rustbot author |
@JohnTitor I've added a deprecation warning as requested. Did I do it correctly? |
Yeah, thanks! |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
available in NetBSD-current since 2020