Re:I love building a startup in Rust. I wouldn't pick it again
by schemescape on Friday February 17, 2023 @11:52PM
(#34844011)
Actually, it does work from Linux! I just tried it and "dotnet publish --os win" cross-compiled from Linux to Windows. Nice!
[ Parent
| on HN ]
Re:I love building a startup in Rust. I wouldn't pick it again
by kcartlidge on Saturday February 18, 2023 @02:57AM
(#34844949)
> Actually, it does work from Linux ... cross-compiled from Linux to Windows.
Here's a link to the commands I use to generate my cross-platform builds [1]. They are easy enough to stick in a shell script or batch file so you get all the builds with one command. These produce single executables, trimmed for size.
[1] https://github.com/kcartlidge/Newt#generating-stand-alone-bu...