mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-04-14 00:58:43 +02:00
doc: clarify use of SIMD features
You need a nightly compiler. Ref #188
This commit is contained in:
parent
55ed698a98
commit
1bb8b7170f
15
README.md
15
README.md
@ -385,14 +385,15 @@ $ cargo build --release --features 'pcre2'
|
|||||||
```
|
```
|
||||||
|
|
||||||
(Tip: use `--features 'pcre2 simd-accel avx-accel'` to also include compile
|
(Tip: use `--features 'pcre2 simd-accel avx-accel'` to also include compile
|
||||||
time SIMD optimizations.)
|
time SIMD optimizations, which will only work with a nightly compiler.)
|
||||||
|
|
||||||
Enabling the PCRE2 feature will attempt to automatically find and link with
|
Enabling the PCRE2 feature works with a stable Rust compiler and will
|
||||||
your system's PCRE2 library via `pkg-config`. If one doesn't exist, then
|
attempt to automatically find and link with your system's PCRE2 library via
|
||||||
ripgrep will build PCRE2 from source using your system's C compiler and then
|
`pkg-config`. If one doesn't exist, then ripgrep will build PCRE2 from source
|
||||||
statically link it into the final executable. Static linking can be forced even
|
using your system's C compiler and then statically link it into the final
|
||||||
when there is an available PCRE2 system library by either building ripgrep with
|
executable. Static linking can be forced even when there is an available PCRE2
|
||||||
the MUSL target or by setting `PCRE2_SYS_STATIC=1`.
|
system library by either building ripgrep with the MUSL target or by setting
|
||||||
|
`PCRE2_SYS_STATIC=1`.
|
||||||
|
|
||||||
ripgrep can be built with the MUSL target on Linux by first installing the MUSL
|
ripgrep can be built with the MUSL target on Linux by first installing the MUSL
|
||||||
library on your system (consult your friendly neighborhood package manager).
|
library on your system (consult your friendly neighborhood package manager).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user