GraalVM SDK provides a C interface that is only supported by native-image. In theory, we can use this to avoid including any JNI libraries in native-image (#246).
However, I ran into some trouble in practice, so this PR won't work at the moment:
For Unix-like operating systems, since the native-image C Interface does not support the vararg function, I cannot call ioctl with it; (https://github.com/oracle/graal/issues/7507)
Maybe I can find some workaround, or wait for GraalVM to fix these issues, but until then I can't do more. If anyone can give me some help I might as well get on with this.
GraalVM SDK provides a C interface that is only supported by native-image. In theory, we can use this to avoid including any JNI libraries in native-image (#246).
However, I ran into some trouble in practice, so this PR won't work at the moment:
ioctl
with it; (https://github.com/oracle/graal/issues/7507)Maybe I can find some workaround, or wait for GraalVM to fix these issues, but until then I can't do more. If anyone can give me some help I might as well get on with this.