0x4E4F@lemmy.dbzer0.com to linuxmemes@lemmy.world · 10 months agoSorry... I'm dumb when it comes to crosscompiling 🤷lemmy.dbzer0.comimagemessage-square25fedilinkarrow-up1427arrow-down112
arrow-up1415arrow-down1imageSorry... I'm dumb when it comes to crosscompiling 🤷lemmy.dbzer0.com0x4E4F@lemmy.dbzer0.com to linuxmemes@lemmy.world · 10 months agomessage-square25fedilink
minus-squareDarkrai@kbin.sociallinkfedilinkarrow-up12·10 months agoI was able to use this guys docker image and tool in order to cross compile my Rust programs in the past. They were very simple programs so I dont know how well it works for larger projects. https://github.com/Jake-Shadle/xwin
minus-square0x4E4F@lemmy.dbzer0.comOPlinkfedilinkarrow-up3·10 months agoYou could even cross-compile from musl… very cool 👍!
minus-squareShareni@programming.devlinkfedilinkarrow-up3·10 months agoI heard recently that you can use the zig compiler to cross compile rust programs.
I was able to use this guys docker image and tool in order to cross compile my Rust programs in the past. They were very simple programs so I dont know how well it works for larger projects.
https://github.com/Jake-Shadle/xwin
You could even cross-compile from musl… very cool 👍!
I heard recently that you can use the zig compiler to cross compile rust programs.