Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile Windows releases with a static CRT (#247)
This commit compiles all Rust code for the Windows release with `-Ctarget-feature=+crt-static`. This is targeted at increasing the binary compatibility of the binaries built to not rely on DLLs that aren't always installed on Windows. Notably this statically links the C runtime (notably used by the C++ code) and means that the final binary relies on fewer dlls. This in theory means that the binaries are only limited by the number of APIs they use from Windows. Note that this also matches how we build releases of Rust for MSVC.
- Loading branch information