replace std::os::raw -> core::ffi
This commit is contained in:
parent
20aefb99ed
commit
26c222247a
9 changed files with 118 additions and 148 deletions
|
|
@ -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),
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use std::os::raw::c_char;
|
||||
use std::ffi::c_char;
|
||||
use std::ptr::NonNull;
|
||||
|
||||
use super::FlakeSettings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue