ripgrep: update to 14.1.0
authorkrant <aleksey.vasilenko@gmail.com>
Thu, 22 Feb 2024 14:29:06 +0000 (16:29 +0200)
committerRosen Penev <rosenp@gmail.com>
Thu, 22 Feb 2024 18:50:24 +0000 (10:50 -0800)
commit64c7a4d7a196d38683c6d9008d49bf7fdc7378bb
tree7ea86a5b3bb4b5843ae9c9c2e56bea873f4d8515
parent65955c3b1e38dca76bec4864430e1abadc20dae6
ripgrep: update to 14.1.0

- Link pcre2 dynamically
  - it was linked statically and libpcre2 dependency was useless
  - it magically fixes build error when global LTO is enabled
  - it reduces resulting binary size
- Use 'release-lto' cargo profile to further reduce binary size

'rg' binary sizes comparision (arm_cortex-a9+neon):
- 4293KB: unmodified
- 4018KB: dynamic libpcre2
- 3521KB: dynamic libpcre2 + release-lto

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
utils/ripgrep/Makefile