diff options
author | Andrew Gallant <jamslam@gmail.com> | 2019-02-07 17:05:14 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2019-02-07 17:05:14 -0500 |
commit | de0bc789828eb3a67cd85e1c32b2e8fe07fbfd77 (patch) | |
tree | 92d82c98d7381a6d095a26a6d15026663b5e02c1 /README.md | |
parent | 147e96914c5e0dfa9d626d928be4d9c65869b2a0 (diff) |
deps: bump encoding_rs to 0.8.16
This brings in an updated `encoding_rs` crate that uses `packed_simd`,
which compiles on the latest nightly. Compilation times do appear to be
impacted significantly though.
Fixes #1175 (again)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -375,11 +375,6 @@ $ ./target/release/rg --version If you have a Rust nightly compiler and a recent Intel CPU, then you can enable additional optional SIMD acceleration like so: -**WARNING**: Building with the `simd-accel` feature on the latest Rust nightly -does not work because the [`encoding_rs`](https://crates.io/crates/encoding_rs) -crate hasn't yet migrated to the new SIMD infrastructure, and the old SIMD -infrastructure no longer works on the latest nightly version of Rust. - ``` RUSTFLAGS="-C target-cpu=native" cargo build --release --features 'simd-accel' ``` @@ -387,7 +382,8 @@ RUSTFLAGS="-C target-cpu=native" cargo build --release --features 'simd-accel' The `simd-accel` feature enables SIMD support in certain ripgrep dependencies (responsible for transcoding). They are not necessary to get SIMD optimizations for search; those are enabled automatically. Hopefully, some day, the -`simd-accel` feature will similarly become unnecessary. +`simd-accel` feature will similarly become unnecessary. **WARNING:** Currently, +enabling this option can increase compilation times dramatically. Finally, optional PCRE2 support can be built with ripgrep by enabling the `pcre2` feature: |