Skip to content

Commit 17facec

Browse files
committed
Add extra pieces.
1 parent fe540e4 commit 17facec

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

collector/compile-benchmarks/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ They mostly consist of real-world crates.
4949
binary crate.
5050
- **serde-1.0.136**: A serialization/deserialization crate. Used by many other
5151
Rust programs.
52+
- **serde-1.0.219**: A serialization/deserialization crate. Used by many other
53+
Rust programs.
5254
- **serde_derive-1.0.136**: A proc-macro sub-crate used by `serde`. Used by
5355
many other Rust programs. Stresses declarative macro expansion somewhat.
5456
- **serde_derive-1.0.219**: A proc-macro sub-crate used by `serde`. Used by

collector/compile-benchmarks/REUSE.toml

+5
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@ path = "serde-1.0.136/**"
220220
SPDX-FileCopyrightText = "serde contributors"
221221
SPDX-License-Identifier = "MIT OR Apache-2.0"
222222

223+
[[annotations]]
224+
path = "serde-1.0.219/**"
225+
SPDX-FileCopyrightText = "serde contributors"
226+
SPDX-License-Identifier = "MIT OR Apache-2.0"
227+
223228
[[annotations]]
224229
path = "serde_derive-1.0.136/**"
225230
SPDX-FileCopyrightText = "serde contributors"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/de/value.rs b/src/de/value.rs
2+
index 8f9c0b48..2402c9ec 100644
3+
--- a/src/de/value.rs
4+
+++ b/src/de/value.rs
5+
@@ -37,6 +37,7 @@ macro_rules! impl_copy_clone {
6+
7+
impl<$($lifetime,)* E> Clone for $ty<$($lifetime,)* E> {
8+
fn clone(&self) -> Self {
9+
+ println!();
10+
*self
11+
}
12+
}

collector/compile-benchmarks/serde-1.0.219/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,5 @@ version = "1"
8282

8383
[target."cfg(any())".dependencies.serde_derive]
8484
version = "=1.0.219"
85+
86+
[workspace]

0 commit comments

Comments
 (0)