mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Reserve filename Cargo.toml.orig
This commit is contained in:
parent
fc5035d698
commit
e4c725110b
@ -230,10 +230,10 @@ fn build_ar_list(
|
||||
});
|
||||
}
|
||||
"Cargo.lock" => continue,
|
||||
VCS_INFO_FILE => anyhow::bail!(
|
||||
VCS_INFO_FILE | "Cargo.toml.orig" => anyhow::bail!(
|
||||
"invalid inclusion of reserved file name \
|
||||
{} in package source",
|
||||
VCS_INFO_FILE
|
||||
rel_str
|
||||
),
|
||||
_ => {
|
||||
result.push(ArchiveFile {
|
||||
|
Loading…
x
Reference in New Issue
Block a user