Skip to content

Commit e4c7251

Browse files
authored
Reserve filename Cargo.toml.orig
1 parent fc5035d commit e4c7251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo/ops/cargo_package.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ fn build_ar_list(
230230
});
231231
}
232232
"Cargo.lock" => continue,
233-
VCS_INFO_FILE => anyhow::bail!(
233+
VCS_INFO_FILE | "Cargo.toml.orig" => anyhow::bail!(
234234
"invalid inclusion of reserved file name \
235235
{} in package source",
236-
VCS_INFO_FILE
236+
rel_str
237237
),
238238
_ => {
239239
result.push(ArchiveFile {

0 commit comments

Comments
 (0)