mirror of
https://github.com/sharkdp/fd.git
synced 2026-10-11 22:30:00 +00:00
config: static linking of C runtime on Windows MSVC
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# On Windows MSVC, statically link the C runtime so that the resulting EXE does
|
||||
# not depend on the vcruntime DLL.
|
||||
#
|
||||
# See: https://github.com/sharkdp/fd/issues/1874
|
||||
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
[target.i686-pc-windows-msvc]
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
Reference in New Issue
Block a user