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.
2 parents 40d8eb3 + 6067f72 commit a07ad51Copy full SHA for a07ad51
2 files changed
.cargo/config.toml
@@ -0,0 +1,9 @@
1
+# On Windows MSVC, statically link the C runtime so that the resulting EXE does
2
+# not depend on the vcruntime DLL.
3
+#
4
+# See: https://github.com/sharkdp/fd/issues/1874
5
+
6
+[target.x86_64-pc-windows-msvc]
7
+rustflags = ["-C", "target-feature=+crt-static"]
8
+[target.i686-pc-windows-msvc]
9
CHANGELOG.md
@@ -18,6 +18,7 @@
18
## Changes
19
20
- Minimum required rust version has been increased to 1.90.0. Notably, this means dropping fully support for intel Mac and Windows 7.
21
+- Statically link the CRT for MSVC builds via Cargo config to avoid runtime DLL dependencies, see #1874 (@FidelSch)
22
23
24
## Other
0 commit comments