Blog post: Cross compiling Rust Windows binaries from Linux

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • rust

    Empowering everyone to build reliable and efficient software.

  • lld's windows support is... buggy. Like "can segfault your program if you look at it wrong" buggy. This makes me somewhat wary of using it.

  • msvc-llvm-nix

  • Also, if anyone is interested, I have a nix flake for setting up an MSVC toolchain here. And here you can find a git repo containing the history of MSVC manifests, which can be useful for various reasons...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • msvc-manifest-history

    Downloads MSVC manifests through github actions

  • Also, if anyone is interested, I have a nix flake for setting up an MSVC toolchain here. And here you can find a git repo containing the history of MSVC manifests, which can be useful for various reasons...

  • cargo-deny

    ❌ Cargo plugin for linting your dependencies 🦀

  • OpenSSL has been banned in our project for a variety of reasons via cargo-deny for around a year and half, it was actually one of the reasons we created it in the first place.

  • xwin

    A utility for downloading and packaging the Microsoft CRT headers and libraries, and Windows SDK headers and libraries needed for compiling and linking programs targeting Windows.

  • I've just pushed a 0.1.1 release that fixes this issue, unsure why the windows crate decided to use screaming case in their link names but I'm sure they're not the only ones.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts