4 ms·
I know Rust specifically supports compiling for Mac from Linux.
by Kaze404 6y ago
I know Rust specifically supports compiling for Mac from Linux.
- efreak 6y agoDoesn't rust support cross compiling to/from any supported platform?
- steveklabnik 6y agoYes but details can get in the way. While every compiler is a cross compiler to any platform, that doesn’t mean that the platform libraries are available or that there’s a linker. For example, the MSVC target uses link.exe, and that only runs on Windows, so cross compiling to the MSCV target doesn’t work in practice even if it could in theory. You can cross compile to the GNU target for Windows though.