mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-19 05:45:01 -04:00
os-gate ios stuff
This commit is contained in:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user