Native image is unrelated to this topic here (hence the downvotes, I guess).
Still GraalVM could be an interesting solution as Rust seems to be supported: https://www.graalvm.org/latest/reference-manual/llvm/Compili...
Still GraalVM could be an interesting solution as Rust seems to be supported: https://www.graalvm.org/latest/reference-manual/llvm/Compili...
https://github.com/oracle/graal/blob/master/substratevm/src/...
And in any case:
JEP draft: Prepare to Restrict The Use of JNI https://openjdk.org/jeps/8307341
JEP 442: Foreign Function & Memory API (Third Preview) https://openjdk.org/jeps/442