Don't copy the Cargo.lock

This commit is contained in:
Amos Wenger 2022-07-20 16:30:08 +02:00
parent 4375cf365e
commit 898898df89

View File

@ -35,7 +35,7 @@ fn main() {
println!("Creating {}", src_dir.display());
std::fs::create_dir_all(src_dir).unwrap();
for item_els in [&["Cargo.toml"][..], &["Cargo.lock"], &["src", "lib.rs"]] {
for item_els in [&["Cargo.toml"][..], &["src", "lib.rs"]] {
let mut src = imp_dir.clone();
let mut dst = staging_dir.clone();
for el in item_els {