0x4E4F@lemmy.dbzer0.com to linuxmemes@lemmy.world · 8 months agoSorry... I'm dumb when it comes to crosscompiling 🤷message-squaremessage-square25fedilinkarrow-up1425arrow-down112
arrow-up1413arrow-down1message-squareSorry... I'm dumb when it comes to crosscompiling 🤷0x4E4F@lemmy.dbzer0.com to linuxmemes@lemmy.world · 8 months agomessage-square25fedilink
minus-squareDarkrai@kbin.sociallinkfedilinkarrow-up12·8 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-squareShareni@programming.devlinkfedilinkarrow-up3·8 months agoI heard recently that you can use the zig compiler to cross compile rust programs.
minus-square0x4E4F@lemmy.dbzer0.comOPlinkfedilinkarrow-up3·8 months agoYou could even cross-compile from musl… very cool 👍!
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
I heard recently that you can use the zig compiler to cross compile rust programs.
You could even cross-compile from musl… very cool 👍!