Closed gcflymoto closed 1 year ago
Interesting, thanks for the report! It looks like a newer version of Rust does a better job of enforcing the missing_docs
lint. In this case, I just decided to remove the lint, since grep
is just a facade that re-exports other crates.
I've published grep 0.2.12
to crates.io and also updated the lock file.
Thanks it's fixed!
BTW. With recent builds, pcre2-sys may not compile:
warning: pcre2-sys@0.2.6: upstream/src/pcre2_compile.c: In function 342200230compile_branch342200231:
warning: pcre2-sys@0.2.6: upstream/src/pcre2_compile.c:5859:13: error: 342200230for342200231 loop initial declarations are only allowed in C99 mode
warning: pcre2-sys@0.2.6: for (int i = 0; i < 32; i++) pbits[i] |= cbits[(int)i + taboffset];
warning: pcre2-sys@0.2.6: ^
..
error: failed to run custom build command for pcre2-sys v0.2.6
I forced rust to use clang 16.x version for 'cc' and that resolved it.
This is an FYI since this issue is with the grep crate.
What version of ripgrep are you using?
13.0.0 Replace this text with the output of
rg --version
. Cannot compile itHow did you install ripgrep?
cargo +nightly install ripgrep --features 'pcre2 simd-accel' --git https://github.com/BurntSushi/ripgrep
What operating system are you using ripgrep on?
SUSE12 linux
Describe your bug.
cannot compile
What are the steps to reproduce the behavior?
cargo +nightly install ripgrep --features 'pcre2 simd-accel' --git https://github.com/BurntSushi/ripgrep
What is the actual behavior?
compile error
If the output is small, put it in code fences:
What is the expected behavior?
compile What do you think ripgrep should have done? suggesting github actions to test compile