feat: add java&rust

This commit is contained in:
2022-09-26 00:23:56 +08:00
parent 36e1609002
commit dc213c4055
8 changed files with 275 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
use jni::objects::*;
use jni::JNIEnv;
#[no_mangle]
pub unsafe extern "C" fn Java_me_hatter_RustJNI_init(_env: JNIEnv, _class: JClass) {
println!("rust-java-demo inited");
}