Skip to content

Commit ece2299

Browse files
committed
Add extra pieces.
1 parent ee43aba commit ece2299

File tree

5 files changed

+22
-0
lines changed

5 files changed

+22
-0
lines changed

collector/compile-benchmarks/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ They mostly consist of real-world crates.
4747
- **regex-1.5.5**: A regular expression parser. Used by many Rust programs.
4848
- **ripgrep-13.0.0**: A line-oriented search tool. A widely-used utility, and a
4949
binary crate.
50+
- **ripgrep-14.1.1**: A line-oriented search tool. A widely-used utility, and a
51+
binary crate.
5052
- **serde-1.0.136**: A serialization/deserialization crate. Used by many other
5153
Rust programs.
5254
- **serde_derive-1.0.136**: A proc-macro sub-crate used by `serde`. Used by

collector/compile-benchmarks/REUSE.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,11 @@ path = "ripgrep-13.0.0-tiny/**"
215215
SPDX-FileCopyrightText = "ripgrep contributors"
216216
SPDX-License-Identifier = "MIT OR Unlicense"
217217

218+
[[annotations]]
219+
path = "ripgrep-14.1.1/**"
220+
SPDX-FileCopyrightText = "ripgrep contributors"
221+
SPDX-License-Identifier = "MIT OR Unlicense"
222+
218223
[[annotations]]
219224
path = "serde-1.0.136/**"
220225
SPDX-FileCopyrightText = "serde contributors"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/crates/core/search.rs b/crates/core/search.rs
2+
index 67273425..4794ab49 100644
3+
--- a/crates/core/search.rs
4+
+++ b/crates/core/search.rs
5+
@@ -340,6 +340,7 @@ impl<W: WriteColor> SearchWorker<W> {
6+
fn search_path(&mut self, path: &Path) -> io::Result<SearchResult> {
7+
use self::PatternMatcher::*;
8+
9+
+ println!("testing");
10+
let (searcher, printer) = (&mut self.searcher, &mut self.printer);
11+
match self.matcher {
12+
RustRegex(ref m) => search_path(m, searcher, printer, path),

collector/compile-benchmarks/ripgrep-14.1.1/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,5 @@ pcre2 = ["grep/pcre2"]
186186

187187
[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator]
188188
version = "0.5.0"
189+
190+
[workspace]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"touch_file": "crates/core/main.rs",
23
"artifact": "binary",
34
"category": "primary"
45
}

0 commit comments

Comments
 (0)