cargo: statically link binary on Windows/MSVC

Before this change, rg.exe depended on vcruntime140.dll, which does not
exist on a fresh install of Windows.

Closes #1613
This commit is contained in:
Austin Wise
2020-06-09 14:18:49 -07:00
committed by Andrew Gallant
parent 7534d5144f
commit 46d0130597
3 changed files with 13 additions and 9 deletions

View File

@@ -39,6 +39,8 @@ Feature enhancements:
Yang.
* [FEATURE #1404](https://github.com/BurntSushi/ripgrep/pull/1404):
ripgrep now prints a warning if nothing is searched.
* [FEATURE #1613](https://github.com/BurntSushi/ripgrep/pull/1613):
Cargo will now produce static executables on Windows when using MSVC.
* [FEATURE #1680](https://github.com/BurntSushi/ripgrep/pull/1680):
Add `-.` as a short flag alias for `--hidden`.
* [FEATURE #1856](https://github.com/BurntSushi/ripgrep/pull/1856):