11 ms·
Doesn't rust support cross compiling to/from any supported platform?
by efreak 6y ago
Doesn'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.