There is a new pull request by Logarithmus against master on the void-packages repository https://github.com/Logarithmus/void-packages ripgrep https://github.com/void-linux/void-packages/pull/25179 ripgrep: use system-provided libpcre2 By default, for musl targets `libpcre2` is linked statically. This patch fixes this and reduces binary size by ~400 KiB for `x86_64-musl` target. More info here: https://github.com/burntsushi/rust-pcre2/tree/HEAD/pcre2-sys#notes A patch file from https://github.com/void-linux/void-packages/pull/25179.patch is attached