Closed dtolnay closed 6 days ago
If necessary, we could support both by using a trait that is implemented for both [[c_char; M]; N]
and [c_char; N]
. But just supporting the newest seems fine — unless yet another libc version reverts the change.
I found a better fix that will work even if libc reverts the change.
Thanks!
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 https://github.com/rust-lang/libc/pull/4147
Awesome, thanks!
The release just finished https://github.com/rust-lang/libc/releases/tag/0.2.166
Closes https://github.com/GuillaumeGomez/sysinfo/issues/1392.
Libc changed the representation of
libc::vnode_info_path::vip_path
.