## How to JNI with Rust and Bazel

* https://docs.rs/jni/latest/jni/
* [Bazel: Java app with JNI dependency](https://stackoverflow.com/questions/46256118/bazel-java-app-with-jni-dependency) and related [answer](https://github.com/hlopko/bazel-jni-example) is useful to understand how it works in bazel for C++. But requirement for `jvm_flags = ["-Djava.library.path=cpp"]` is redundant (you probably don't want to pass it everywhere).

As a result answered [here](https://stackoverflow.com/questions/68896878/how-to-make-rust-jni-bindings-with-bazel/73829909#73829909).

## How to JNI with Rust and Bazel

* https://docs.rs/jni/latest/jni/
* [Bazel: Java app with JNI dependency](https://stackoverflow.com/questions/46256118/bazel-java-app-with-jni-dependency) and related [answer](https://github.com/hlopko/bazel-jni-example) is useful to understand how it works in bazel for C++. But requirement for `jvm_flags = ["-Djava.library.path=cpp"]` is redundant (you probably don't want to pass it everywhere).

As a result answered [here](https://stackoverflow.com/questions/68896878/how-to-make-rust-jni-bindings-with-bazel/73829909#73829909).

* https://docs.oracle.com/en/java/javase/11/docs/specs/jni/index.html
* https://developer.android.com/training/articles/perf-jni#java

Add useful links about JNI
Add useful links about JNI
