Statically linking to CRT on MSVC

Don't put it in your Cargo.toml, instead put it in your .cargo\config.

[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static", "-Zunstable-options"]
4 Likes