Changes to be committed:
modified: Cargo.toml modified: src/lib.rs
This commit is contained in:
parent
a7644cda66
commit
238e3d0144
@ -9,7 +9,7 @@ categories = ["network-programming", "asynchronous"]
|
||||
readme = "README.md"
|
||||
|
||||
[lib]
|
||||
crate-type = ["dylib"]
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
clap = "2.33"
|
||||
|
@ -18,7 +18,7 @@ pub extern fn rust_greeting(to: *const c_char) -> *mut c_char {
|
||||
|
||||
|
||||
/// Expose the JNI interface for android below
|
||||
//#[cfg(target_os="android")]
|
||||
#[cfg(target_os="android")]
|
||||
#[allow(non_snake_case)]
|
||||
pub mod android {
|
||||
extern crate jni;
|
||||
|
Loading…
x
Reference in New Issue
Block a user