-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
Deal with libc 0.2.165's removal of array size hacks #1393
Deal with libc 0.2.165's removal of array size hacks #1393
Conversation
If necessary, we could support both by using a trait that is implemented for both |
I found a better fix that will work even if libc reverts the change. |
Thanks! |
Summary: `sysinfo` is fixed by GuillaumeGomez/sysinfo#1393 which is released as v0.32.1. But there are breaking changes compare to current sysinfo v0.30.11 we have internally and it needs to be migrated. Differential Revision: D66499693
Summary: X-link: facebook/buck2#814 `libc` 0.2.165 was released recently and it breaks `sysinfo` crate for Mac. `sysinfo` is fixed by GuillaumeGomez/sysinfo#1393 which is released as v0.32.1. But there are breaking changes compare to current sysinfo v0.30.11 we have internally and it needs to be migrated. Reviewed By: ndmitchell, Will-MingLun-Li Differential Revision: D66499693 fbshipit-source-id: 390c76f85ce431f39882345500593ae008664b80
Summary: Pull Request resolved: #814 `libc` 0.2.165 was released recently and it breaks `sysinfo` crate for Mac. `sysinfo` is fixed by GuillaumeGomez/sysinfo#1393 which is released as v0.32.1. But there are breaking changes compare to current sysinfo v0.30.11 we have internally and it needs to be migrated. Reviewed By: ndmitchell, Will-MingLun-Li Differential Revision: D66499693 fbshipit-source-id: 390c76f85ce431f39882345500593ae008664b80
Changing the private fields wasn't intentional and seems to have a lot of fallout unfortunately. So we are going to revert, I'm not sure if that affects things here (thanks for working around it so quickly) |
@tgross35 We depend on 0.2.165, which was yanked. So it'd be nice if we had a 0.2.166 release. |
That should be out very soon rust-lang/libc#4147 |
Awesome, thanks! |
The release just finished https://github.com/rust-lang/libc/releases/tag/0.2.166 |
Closes #1392.
Libc changed the representation of
libc::vnode_info_path::vip_path
.