3 ms·
I'm surprised cross-compilation is not on the roadmap. I've heard that it is ready and that it's not quite ready. Can I create a Windows executable for Windows
by Siecje 10y ago
I'm surprised cross-compilation is not on the roadmap. I've heard that it is ready and that it's not quite ready.
Can I create a Windows executable for Windows on Linux?
- kazagistar 10y agoRustup already does all the cross compilation stuff, yes.
- steveklabnik 10y agoIt's not a high-level goal, but it is part of many of those high-level goals. > Can I create a Windows executable for Windows on Linux? Yes, but it's a little gross at the moment: https://github.com/rust-lang-nursery/rust-forge/blob/master/cross-compilation/to-windows.md https://github.com/rust-lang-nursery/rust-forge/blob/master/... We do plan for all of this to be much, much easier in the future. Working on it. > I've heard that it is ready and that it's not quite ready. The foundations are strong, but the details are tough. So like, doing the cross-compilation is there, and is the simple bit, it's all of the stuff around it: linkers, other platform stuff, things like that. But the foundation to make all of this easy is in place. It just needs time and effort.