Open GopherJ opened 4 years ago
I have not successfully cross-compiled a Rust project before. Maybe someone with more experience could chime in. However, you could use GitHub CI to build your macOS binaries!
For instance, the todos
example in this repository is compiled for Windows, macOS, and Linux every time a commit is pushed to master
and the resulting binaries can be downloaded as build artifacts. Feel free to grab the workflow file as a starting point.
I would like to use
iced
for writing utilities which will probably run on MacOS, but I'm on Linux so I'd like to be able to cross compile iced.Before using iced, I've tried:
which worked pretty well.
Then I would like to find similar things in rust and came across
iced
. I made a script to cross compile https://github.com/GopherJ/cfg/blob/master/scripts/osxcross.sh, this script worked for some other libraries but I got an error iniced
.I'm wondering if there is a solution for this or I must prepare a MacOS environment