platform-restrict android code (#591)

* platform-restrict android code

* spelling error
This commit is contained in:
Brendan Allan authored and GitHub committed 2023-03-03 22:36:12 -08:00
1 parent 29a3123df5
commit 885f49619d
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -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"
+2
View File
@@ -1,3 +1,5 @@
#![cfg(target_os = "android")]
use std::panic;
use jni::{