replace std::os::raw -> core::ffi

This commit is contained in:
do butterflies cry? 2026-04-02 10:40:18 +10:00
parent 20aefb99ed
commit 26c222247a
Signed by: cry
GPG key ID: F68745A836CA0412
9 changed files with 118 additions and 148 deletions

View file

@ -94,7 +94,7 @@ pub enum NixError {
/// [NixError::Undocumented] has no equivalent in the `libnix` api.
/// This is solely a language difference between C++ and Rust, since
/// [sys::NixErr] is defined over the *"continuous" (not realy)*
/// type [std::os::raw::c_int].
/// type [::core::ffi::c_int].
Undocumented(sys::NixErr),
}

View file

@ -1,5 +1,4 @@
use std::ffi::c_void;
use std::os::raw::c_char;
use std::ffi::{c_char, c_void};
use std::ptr::{NonNull, null_mut};
use super::{FetchersSettings, FlakeReferenceParseFlags, FlakeSettings};

View file

@ -1,4 +1,4 @@
use std::os::raw::c_char;
use std::ffi::c_char;
use std::ptr::NonNull;
use super::FlakeSettings;