Auto merge of #370 - dtolnay:expand, r=erickt
Use serde_codegen::expand in serde_tests/build.rs
This commit is contained in:
commit
2c4dbf5a84
@ -13,10 +13,6 @@ fn main() {
|
|||||||
] {
|
] {
|
||||||
let src = Path::new(src);
|
let src = Path::new(src);
|
||||||
let dst = Path::new(&out_dir).join(dst);
|
let dst = Path::new(&out_dir).join(dst);
|
||||||
|
serde_codegen::expand(&src, &dst).unwrap();
|
||||||
let mut registry = syntex::Registry::new();
|
|
||||||
|
|
||||||
serde_codegen::register(&mut registry);
|
|
||||||
registry.expand("", &src, &dst).unwrap();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user