We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 731b604 commit 1750af7Copy full SHA for 1750af7
.cargo/config.toml
@@ -1,5 +1,4 @@
1
-[target.x86_64-pc-windows-msvc]
2
-linker = "rust-lld"
3
-
4
-[target.aarch64-pc-windows-msvc]
5
+# statically link the C runtime so the executable does not depend on
+# that shared/dynamic library.
+[target.'cfg(all(target_env = "msvc", target_os = "windows"))']
+rustflags = ["-C", "target-feature=+crt-static"]
0 commit comments