paint-brush
Cross Compiling Rust on MacOS to Run as a Unikernelby@eyberg
2,635 reads
2,635 reads

Cross Compiling Rust on MacOS to Run as a Unikernel

by ian3mMay 3rd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Cross Compiling Rust on MacOS to Run as a Unikernel
ian HackerNoon profile picture
ian

ian

@eyberg

hackity hack

About @eyberg
LEARN MORE ABOUT @EYBERG'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

ian HackerNoon profile picture
ian@eyberg
hackity hack

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite