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
Breaking Changes from version 0.2.55 to 0.2.58 #1397
Comments
This is expected. If you are passing the Could you let us know a bit more about what you were doing ? |
I had a function that wrapped getting the resource I wanted to set the resource limit on, that function returned a |
Damn yes, that use case was expected breakage. The best thing you can do is have a |
Ideally, at some point in the future, the |
All good, thanks for a hasty response. |
Yes, sorry about the breakage. The tests that verified the rlimit APIs were disabled for some reason, and re-enabling them discovered that the types were incorrect in some targets. Sadly, we can't use the crater tool with libc yet to test whether some breaking change actually breaks somebody, so I decided to roll in the fix, and wait and see if the changes actually break somebody (which it did, it broke your code). I'm not sure whether we should revert the change and yank the released versions, or leave it as is. You are the only user that has reported back about this, yet, but that doesn't mean that more users aren't affected. How bad is it to fix this on your end ? (e.g. is it possible at all? is it too painful? ) |
It is already fixed and in master on my end, I wouldn't revert; Especially if i'm the only one who brought it up (and since reverting would be another breaking change :D). |
Two recent breaking changes:
libc::RLIMIT_AS
is au32
on 0.2.58, changed from ani32
on earlier versions.libc::setrlimit
takes in au32
as itsresource
parameter on 0.2.56, changed from ani32
on earlier versions.Both of these changes involve moving from using a
libc::c_int
(i32
) to alibc::__rlimit_resource_t
(u32
). I found these breaking changes when upgrading from 0.2.55 to 0.2.58. Just looking to see that this is expected or not.The text was updated successfully, but these errors were encountered: