mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2024-12-12 19:18:24 +02:00
46d0130597
Before this change, rg.exe depended on vcruntime140.dll, which does not exist on a fresh install of Windows. Closes #1613
9 lines
332 B
TOML
9 lines
332 B
TOML
# On Windows MSVC, statically link the C runtime so that the resulting EXE does
|
|
# not depend on the vcruntime DLL.
|
|
#
|
|
# See: https://github.com/BurntSushi/ripgrep/pull/1613
|
|
[target.x86_64-pc-windows-msvc]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
[target.i686-pc-windows-msvc]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|