Hi there! I'm trying to create and compile an executable for Illumos. I'm currently working on my mac and so I go with the command "rustup target add" in order to add my target operating system. But now where can I create and find my solaris executable and how can I compile it on my target OS? Thanks everyone in advance.
@Armando Venturi there is a blog post describing an analogous process for cross-compiling on Mac targeting Linux here: http://timryan.org/2018/07/27/cross-compiling-linux-binaries-from-macos.html
in particular, the analogous command there is
cargo build --target=x86_64-unknown-linux-gnu --features 'standalone'
so i imagine there's a way to adapt that line to target Illumos
and then the binary would be found somewhere underneath
./target/debug/$TARGET/, for appropriate choice of
but the rest of that post may include important hints to other things you'll need to resolve, like the fact that you'll need a cross-compiling linker