-
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
Fix CI for FreeBSD 15, on libc-0.2 branch #3952
Conversation
#[doc(hidden)] | ||
#[deprecated(since = "0.2.160", note = "Removed in FreeBSD 15")] | ||
pub const TCP_MAXPEAKRATE: ::c_int = 69; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to remove #[doc(hidden)]
for now so it doesn't disappear entirely. We can add it back in a couple versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Though note that the sockopt was never actually implemented within the kernel, so no program that tried to use it could've possibly worked.
Could you amend the message to mention 590d78d (commit from #3950 (comment))? The branches are just a bit easier to manage if similar commits are crosslinked somehow, even though this isn't exactly a cherry pick. |
It was failing for two reasons: * 87fbd9fc71[^1] removed the TCP_MAXPEAKRATE symbol. * 3458bbd392[^2] changed the value of RLIM_NLIMITS This is effectively a merge of rust-lang#3950 (commit 590d78d) from the main branch. Fixes rust-lang#3947 [^1]: freebsd/freebsd-src@87fbd9f [^2]: freebsd/freebsd-src@3458bbd
5281edb
to
07104b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
It was failing for two reasons:
Fixes #3947
Footnotes
https://github.com/freebsd/freebsd-src/commit/87fbd9fc7fc5f8d79fe5e3dcd13ad02b11a67ef0 ↩
https://github.com/freebsd/freebsd-src/commit/3458bbd397783f3bb62713c54ae87f19eeb98dc0 ↩