Open LivacoNew opened 1 month ago
The code that's no longer compiling is part of a somewhat horrible hack to work around bindgen
trying to build a binding for clock_adjtime
. See the lengthy comment here: https://github.com/rpm-software-management/librpm.rs/blob/96e2fde/librpm-sys/src/lib.rs#L35-L66
The best solution would be to figure out how to eliminate clock_adjtime
from the generated binding, then the definition of struct timex
that's failing to compile can be removed.
Cloning & Running
cargo test
on Fedora 40 provides the following build failure;This seems to be from a newer kernel, as my previous Fedora 39 was fine (although did build fail for different reasons, something I upgraded my VM to 40 to see if it would fix)