mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-20 22:50:11 -04:00
platform-restrict android code (#591)
* platform-restrict android code * spelling error
This commit is contained in:
@@ -8,7 +8,7 @@ rust-version = "1.64.0"
|
||||
# Android can use dynamic linking since all FFI is done via JNI
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
# FFI
|
||||
jni = "0.19.0"
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#![cfg(target_os = "android")]
|
||||
|
||||
use std::panic;
|
||||
|
||||
use jni::{
|
||||
|
||||
Reference in New Issue
Block a user