Cross-building Windows binaries in Rust
By Kunal MehtaOriginally posted on mastodon.technology.
It was surprisingly simple to set up cross-building for #Windows binaries on my #Rust projects in CI: https://gitlab.com/legoktm/rust-ci-pipeline/-/commit/21c61d0412e6636c110fbd0461908c93ff5eda7c
And the one place I was using Unix-specific code has been caught at compile time \o/
Whenever I make new releases, Windows binaries will be uploaded by CI, but in the meantime here's my "hello world" test repo: https://gitlab.com/legoktm/test-rs/-/releases/0.1.11