-
Notifications
You must be signed in to change notification settings - Fork 123
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
rust elektra fails to build #4989
Comments
Note: elektra-sys 0.11.0 is already published |
The first error seems to be that: extern "C" {
pub fn keySetBinary(
key: *mut Key,
newBinary: *const ::std::os::raw::c_void,
dataSize: size_t,
) -> ssize_t;
}
unsafe {
elektra_sys::keySetBinary(
self.as_ptr(),
data.as_ptr() as *const std::os::raw::c_void,
data.len(),
);
}
ChatGPT semi-helpfully says: "The complaint you're getting suggests that the Rust type usize doesn't match the expected C type size_t.". I'm going to research why the types no longer match. |
@horenso Thx for the triage. Looking forward to a PR. |
The text was updated successfully, but these errors were encountered: