mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Idevice::from_fd only on unix
This commit is contained in:
@@ -128,6 +128,7 @@ pub unsafe extern "C" fn idevice_new(
|
||||
/// # Safety
|
||||
/// The socket FD must be valid.
|
||||
/// The pointers must be valid and non-null.
|
||||
#[cfg(unix)]
|
||||
#[unsafe(no_mangle)]
|
||||
pub unsafe extern "C" fn idevice_from_fd(
|
||||
fd: i32,
|
||||
|
||||
Reference in New Issue
Block a user