mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-14 18:14:04 +00:00
os-gate ios stuff
This commit is contained in:
parent
22b5914f5b
commit
3c81591090
|
@ -11,11 +11,13 @@ rust-version = "1.64.0"
|
|||
# which are only available when linking against the app's ObjC
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
[target.'cfg(target_os = "ios")'.dependencies]
|
||||
# FFI
|
||||
objc = "0.2.7"
|
||||
objc_id = "0.1.1"
|
||||
objc-foundation = "0.1.1"
|
||||
|
||||
[dependencies]
|
||||
# Core mobile handling stuff
|
||||
sd-core-mobile = { path = "../mobile" }
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#![cfg(target_os = "ios")]
|
||||
|
||||
use std::{
|
||||
ffi::{CStr, CString},
|
||||
os::raw::{c_char, c_void},
|
||||
|
|
Loading…
Reference in a new issue