diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 000000000..44392aae0 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,7 @@ + +# On Windows MSVC, statically link the C runtime so that the resulting EXE does +# not depend on the vcruntime DLL. +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"] +[target.i686-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"]