Remove unused import and fix i~~OS builds.

This commit is contained in:
Nolan Darilek 2020-09-22 14:29:45 -05:00
parent 6b023c3071
commit 017aa8863b
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,5 @@
#[cfg(any(target_os = "macos", target_os = "ios"))]
#[link(name = "AVFoundation", kind = "framework")]
use std::sync::Mutex;
use cocoa_foundation::base::{id, nil};
use cocoa_foundation::foundation::NSString;
use log::{info, trace};

View File

@ -15,7 +15,7 @@ use std::boxed::Box;
#[cfg(target_os = "macos")]
use std::ffi::CStr;
#[cfg(target_os = "macos")]
#[cfg(any(target_os = "macos", target_os = "ios"))]
use cocoa_foundation::base::id;
#[cfg(target_os = "macos")]
use libc::c_char;