Too Long; Didn't Read
Cross Compiling Rust on MacOS to Run as a Unikernel with OPS goes out and finds all the libraries it's dynamically linked to and throws it onto the disk image. This works well if you are on Linux - 99% of everything on linux is dynamically linked. OPS also only loads ELF files so you either need to cross-compile your program as if you were running it on Linux or you use a pre-made 'package' via the ops pkg repository. The latter works well for interpreted languages and VM based languages like the JVM.