We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f068314 commit 62bf33aCopy full SHA for 62bf33a
build_system/prepare.rs
@@ -143,6 +143,7 @@ impl GitRepo {
143
RelPath::PATCHES.to_path(dirs).join(format!("{}-lock.toml", self.patch_name));
144
let target_lockfile = download_dir.join("Cargo.lock");
145
if source_lockfile.exists() {
146
+ assert!(!target_lockfile.exists());
147
fs::copy(source_lockfile, target_lockfile).unwrap();
148
} else {
149
assert!(target_lockfile.exists());
0 commit comments