Changes to be committed:

modified:   Cargo.toml
	modified:   src/lib.rs
This commit is contained in:
Michael Wain 2024-09-20 02:17:54 +03:00
parent a7644cda66
commit 238e3d0144
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ categories = ["network-programming", "asynchronous"]
readme = "README.md"
[lib]
crate-type = ["dylib"]
crate-type = ["cdylib"]
[dependencies]
clap = "2.33"

View File

@ -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;