mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-26 23:37:55 +00:00
Remove benchmarks
Nobody noticed these did not compile for 3 months, so I am guessing nobody cares. The JSON benchmarks at https://github.com/serde-rs/json-benchmark are much more relevant.
This commit is contained in:
+3
-9
@@ -5,13 +5,7 @@ use std::path::Path;
|
||||
|
||||
fn main() {
|
||||
let out_dir = env::var_os("OUT_DIR").unwrap();
|
||||
|
||||
for &(src, dst) in &[
|
||||
("tests/test.rs.in", "test.rs"),
|
||||
("benches/bench.rs.in", "bench.rs"),
|
||||
] {
|
||||
let src = Path::new(src);
|
||||
let dst = Path::new(&out_dir).join(dst);
|
||||
serde_codegen::expand(&src, &dst).unwrap();
|
||||
}
|
||||
let src = Path::new("tests/test.rs.in");
|
||||
let dst = Path::new(&out_dir).join("test.rs");
|
||||
serde_codegen::expand(&src, &dst).unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user