Skip to content

Commit d875ee3

Browse files
committed
Add extra pieces.
1 parent 043e912 commit d875ee3

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

collector/compile-benchmarks/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ They mostly consist of real-world crates.
4848
Rust programs.
4949
- **serde_derive-1.0.136**: A proc-macro sub-crate used by `serde`. Used by
5050
many other Rust programs. Stresses declarative macro expansion somewhat.
51+
- **serde_derive-1.0.219**: A proc-macro sub-crate used by `serde`. Used by
52+
many other Rust programs. Stresses declarative macro expansion somewhat.
5153
- **stm32f4-0.14.0**: A crate that has many thousands of blanket impl blocks.
5254
It uses cargo features to enable large portions of its structure and is
5355
built with `--features=stm32f410` to have faster benchmarking times.

collector/compile-benchmarks/REUSE.toml

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

223+
[[annotations]]
224+
path = "serde_derive-1.0.219/**"
225+
SPDX-FileCopyrightText = "serde contributors"
226+
SPDX-License-Identifier = "MIT OR Apache-2.0"
227+
223228
[[annotations]]
224229
path = "stm32f4-0.14.0/**"
225230
SPDX-FileCopyrightText = "stm32-rs contributors"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/src/de.rs b/src/de.rs
2+
index 4967e35d..5e68fdac 100644
3+
--- a/src/de.rs
4+
+++ b/src/de.rs
5+
@@ -12,6 +12,8 @@ use syn::spanned::Spanned;
6+
use syn::{parse_quote, Ident, Index, Member};
7+
8+
pub fn expand_derive_deserialize(input: &mut syn::DeriveInput) -> syn::Result<TokenStream> {
9+
+ println!("testing");
10+
+
11+
replace_receiver(input);
12+
13+
let ctxt = Ctxt::new();

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

+2
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,5 @@ default-features = false
8484

8585
[dev-dependencies.serde]
8686
version = "1"
87+
88+
[workspace]

0 commit comments

Comments
 (0)