Skip to content

Commit e22cf22

Browse files
committed
Add testing infrastructure for libc-0.2.124.
1 parent 1d8b116 commit e22cf22

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

collector/benchmarks/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ They mostly consist of real-world crates.
3333
- **image-0.24.1**: Basic image processing functions and methods for
3434
converting to and from various image formats. Used often in graphics
3535
programming.
36+
- **libc-0.2.124**: An interface to `libc`. Contains many declarations of
37+
types, constants, and functions, but relatively little normal code. Stresses
38+
the parser. A very widely-used crate.
3639
- **regex-1.5.5**: A regular expression parser. Used by many Rust programs.
3740
- **ripgrep-13.0.0**: A line-oriented search tool. A widely-used utility.
3841
- **serde-1.0.136**: A serialization/deserialization crate. Used by many other
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/src/macros.rs b/src/macros.rs
2+
index 9fb7f7a7..39cbf962 100644
3+
--- a/src/macros.rs
4+
+++ b/src/macros.rs
5+
@@ -82,7 +82,7 @@ macro_rules! s {
6+
impl ::Copy for $i {}
7+
#[allow(deprecated)]
8+
impl ::Clone for $i {
9+
- fn clone(&self) -> $i { *self }
10+
+ fn clone(&self) -> $i { let x = *self; x }
11+
}
12+
);
13+
}

collector/benchmarks/libc-0.2.124/Cargo.lock

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

collector/benchmarks/libc-0.2.124/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,5 @@ rustc-dep-of-std = [
6262
]
6363
std = []
6464
use_std = ["std"]
65+
66+
[workspace]

0 commit comments

Comments
 (0)