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"
|
readme = "README.md"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["dylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "2.33"
|
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
|
/// Expose the JNI interface for android below
|
||||||
//#[cfg(target_os="android")]
|
#[cfg(target_os="android")]
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
pub mod android {
|
pub mod android {
|
||||||
extern crate jni;
|
extern crate jni;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user